home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / hyperbole / hui.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  20.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 35 32 3a 34 | 32 20 31 39 39 35 0a 3b | 14:52:4|2 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 65 78 |;; from |file /ex|
|00000060| 70 6f 72 74 2f 77 69 6c | 6c 6f 77 33 2f 78 65 6d |port/wil|low3/xem|
|00000070| 61 63 73 2d 31 39 2e 31 | 33 2d 72 65 6c 65 61 73 |acs-19.1|3-releas|
|00000080| 65 2f 65 64 69 74 6f 72 | 2f 6c 69 73 70 2f 68 79 |e/editor|/lisp/hy|
|00000090| 70 65 72 62 6f 6c 65 2f | 68 75 69 2e 65 6c 0a 3b |perbole/|hui.el.;|
|000000a0| 3b 3b 20 65 6d 61 63 73 | 20 76 65 72 73 69 6f 6e |;; emacs| version|
|000000b0| 20 31 39 2e 31 33 20 58 | 45 6d 61 63 73 20 4c 75 | 19.13 X|Emacs Lu|
|000000c0| 63 69 64 2e 0a 3b 3b 3b | 20 62 79 74 65 63 6f 6d |cid..;;;| bytecom|
|000000d0| 70 20 76 65 72 73 69 6f | 6e 20 32 2e 32 35 3b 20 |p versio|n 2.25; |
|000000e0| 31 2d 53 65 70 2d 39 34 | 2e 0a 3b 3b 3b 20 6f 70 |1-Sep-94|..;;; op|
|000000f0| 74 69 6d 69 7a 61 74 69 | 6f 6e 20 69 73 20 6f 6e |timizati|on is on|
|00000100| 2e 0a 3b 3b 3b 20 74 68 | 69 73 20 66 69 6c 65 20 |..;;; th|is file |
|00000110| 75 73 65 73 20 6f 70 63 | 6f 64 65 73 20 77 68 69 |uses opc|odes whi|
|00000120| 63 68 20 64 6f 20 6e 6f | 74 20 65 78 69 73 74 20 |ch do no|t exist |
|00000130| 69 6e 20 45 6d 61 63 73 | 20 31 38 2e 0a 0a 28 69 |in Emacs| 18...(i|
|00000140| 66 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |f (and (|boundp '|
|00000150| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 29 0a 09 |emacs-ve|rsion)..|
|00000160| 20 28 6f 72 20 28 61 6e | 64 20 28 62 6f 75 6e 64 | (or (an|d (bound|
|00000170| 70 20 27 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |p 'epoch|::versio|
|00000180| 6e 29 20 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |n) epoch|::versio|
|00000190| 6e 29 0a 09 20 20 20 20 | 20 28 73 74 72 69 6e 67 |n).. | (string|
|000001a0| 2d 6c 65 73 73 70 20 65 | 6d 61 63 73 2d 76 65 72 |-lessp e|macs-ver|
|000001b0| 73 69 6f 6e 20 22 31 39 | 22 29 29 29 0a 20 20 20 |sion "19|"))). |
|000001c0| 20 28 65 72 72 6f 72 20 | 22 54 68 69 73 20 66 69 | (error |"This fi|
|000001d0| 6c 65 20 77 61 73 20 63 | 6f 6d 70 69 6c 65 64 20 |le was c|ompiled |
|000001e0| 66 6f 72 20 45 6d 61 63 | 73 20 31 39 2e 22 29 29 |for Emac|s 19."))|
|000001f0| 0a 0a 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |..(byte-|code "..|
|00000200| 21 88 c0 c2 21 88 c0 c3 | 21 87 22 20 5b 72 65 71 |!...!...|!." [req|
|00000210| 75 69 72 65 20 68 61 72 | 67 73 20 73 65 74 20 68 |uire har|gs set h|
|00000220| 6d 61 69 6c 5d 20 32 29 | 0a 28 64 65 66 76 61 72 |mail] 2)|.(defvar|
|00000230| 20 68 75 69 3a 65 62 75 | 74 2d 64 65 6c 65 74 65 | hui:ebu|t-delete|
|00000240| 2d 63 6f 6e 66 69 72 6d | 2d 70 20 74 20 22 5c 0a |-confirm|-p t "\.|
|00000250| 2a 4e 6f 6e 2d 6e 69 6c | 20 6d 65 61 6e 73 20 70 |*Non-nil| means p|
|00000260| 72 6f 6d 70 74 20 62 65 | 66 6f 72 65 20 69 6e 74 |rompt be|fore int|
|00000270| 65 72 61 63 74 69 76 65 | 6c 79 20 64 65 6c 65 74 |eractive|ly delet|
|00000280| 69 6e 67 20 65 78 70 6c | 69 63 69 74 20 62 75 74 |ing expl|icit but|
|00000290| 74 6f 6e 73 2e 22 29 0a | 28 66 73 65 74 20 27 68 |tons.").|(fset 'h|
|000002a0| 75 69 3a 65 62 75 74 2d | 63 72 65 61 74 65 20 23 |ui:ebut-|create #|
|000002b0| 5b 28 26 6f 70 74 69 6f | 6e 61 6c 20 73 74 61 72 |[(&optio|nal star|
|000002c0| 74 20 65 6e 64 29 20 22 | c0 89 89 89 19 1a 1b 1c |t end) "|........|
|000002d0| 8a c5 0e 06 0e 07 74 3f | 23 14 c8 0c c9 5c 22 89 |......t?|#....\".|
|000002e0| 13 0c 9a ac 82 c0 14 0c | ab 83 70 aa 82 ca 20 12 |........|..p... .|
|000002f0| cb 5c 6e c9 5c 22 88 cc | cd ce cf 5c 6e 21 23 88 |.\n.\"..|...\n!#.|
|00000300| cc cd d0 d1 5c 6e 21 23 | 88 d2 20 11 cc cd c1 09 |....\n!#|.. .....|
|00000310| 23 88 cc cd d3 d4 09 21 | 23 88 cc cd d5 d6 d7 21 |#......!|#......!|
|00000320| ad 87 0e 17 ad 83 d8 09 | 21 23 88 29 d9 0b c0 5c |........|!#.)...\|
|00000330| 22 2c 87 22 20 5b 6e 69 | 6c 20 61 63 74 79 70 65 |",." [ni|l actype|
|00000340| 20 62 75 74 2d 62 75 66 | 20 6c 62 6c 20 64 65 66 | but-buf| lbl def|
|00000350| 61 75 6c 74 2d 6c 62 6c | 20 68 75 69 3a 68 62 75 |ault-lbl| hui:hbu|
|00000360| 74 2d 6c 61 62 65 6c 2d | 64 65 66 61 75 6c 74 20 |t-label-|default |
|00000370| 73 74 61 72 74 20 65 6e | 64 20 68 75 69 3a 68 62 |start en|d hui:hb|
|00000380| 75 74 2d 6c 61 62 65 6c | 20 22 65 62 75 74 2d 63 |ut-label| "ebut-c|
|00000390| 72 65 61 74 65 22 20 68 | 75 69 3a 65 62 75 74 2d |reate" h|ui:ebut-|
|000003a0| 62 75 66 20 68 75 69 3a | 62 75 66 2d 77 72 69 74 |buf hui:|buf-writ|
|000003b0| 61 62 6c 65 2d 65 72 72 | 20 68 61 74 74 72 3a 73 |able-err| hattr:s|
|000003c0| 65 74 20 68 62 75 74 3a | 63 75 72 72 65 6e 74 20 |et hbut:|current |
|000003d0| 6c 6f 63 20 68 75 69 3a | 6b 65 79 2d 73 72 63 20 |loc hui:|key-src |
|000003e0| 64 69 72 20 68 75 69 3a | 6b 65 79 2d 64 69 72 20 |dir hui:|key-dir |
|000003f0| 68 75 69 3a 61 63 74 79 | 70 65 20 61 72 67 73 20 |hui:acty|pe args |
|00000400| 68 61 72 67 73 3a 61 63 | 74 79 70 65 2d 67 65 74 |hargs:ac|type-get|
|00000410| 20 61 63 74 69 6f 6e 20 | 62 6f 75 6e 64 70 20 68 | action |boundp h|
|00000420| 75 69 3a 65 62 75 74 2d | 70 72 6f 6d 70 74 2d 66 |ui:ebut-|prompt-f|
|00000430| 6f 72 2d 61 63 74 69 6f | 6e 20 68 75 69 3a 61 63 |or-actio|n hui:ac|
|00000440| 74 69 6f 6e 20 65 62 75 | 74 3a 6f 70 65 72 61 74 |tion ebu|t:operat|
|00000450| 65 5d 20 36 20 22 5c 0a | 43 72 65 61 74 65 73 20 |e] 6 "\.|Creates |
|00000460| 61 6e 20 65 78 70 6c 69 | 63 69 74 20 62 75 74 20 |an expli|cit but |
|00000470| 73 74 61 72 74 69 6e 67 | 20 66 72 6f 6d 20 6c 61 |starting| from la|
|00000480| 62 65 6c 20 62 65 74 77 | 65 65 6e 20 6f 70 74 69 |bel betw|een opti|
|00000490| 6f 6e 61 6c 20 53 54 41 | 52 54 20 61 6e 64 20 45 |onal STA|RT and E|
|000004a0| 4e 44 2e 0a 49 6e 64 69 | 63 61 74 65 73 20 62 79 |ND..Indi|cates by|
|000004b0| 20 64 65 6c 69 6d 69 74 | 69 6e 67 20 61 6e 64 20 | delimit|ing and |
|000004c0| 61 64 64 69 6e 67 20 61 | 6e 79 20 6e 65 63 65 73 |adding a|ny neces|
|000004d0| 73 61 72 79 20 69 6e 73 | 74 61 6e 63 65 20 6e 75 |sary ins|tance nu|
|000004e0| 6d 62 65 72 20 6f 66 20 | 74 68 65 20 62 75 74 74 |mber of |the butt|
|000004f0| 6f 6e 0a 6c 61 62 65 6c | 2e 22 20 28 62 79 74 65 |on.label|." (byte|
|00000500| 2d 63 6f 64 65 20 22 c0 | c1 c2 21 21 ad 82 c3 20 |-code ".|..!!... |
|00000510| c0 c1 c2 21 21 ad 82 c4 | 20 44 87 22 20 5b 6d 61 |...!!...| D." [ma|
|00000520| 72 6b 65 72 2d 70 6f 73 | 69 74 69 6f 6e 20 68 79 |rker-pos|ition hy|
|00000530| 70 62 3a 6d 61 72 6b 2d | 6d 61 72 6b 65 72 20 74 |pb:mark-|marker t|
|00000540| 20 72 65 67 69 6f 6e 2d | 62 65 67 69 6e 6e 69 6e | region-|beginnin|
|00000550| 67 20 72 65 67 69 6f 6e | 2d 65 6e 64 5d 20 34 29 |g region|-end] 4)|
|00000560| 5d 29 0a 28 66 73 65 74 | 20 27 68 75 69 3a 65 62 |]).(fset| 'hui:eb|
|00000570| 75 74 2d 64 65 6c 65 74 | 65 20 23 5b 28 62 75 74 |ut-delet|e #[(but|
|00000580| 2d 6b 65 79 20 26 6f 70 | 74 69 6f 6e 61 6c 20 6b |-key &op|tional k|
|00000590| 65 79 2d 73 72 63 29 20 | 22 08 ac 86 c1 c2 21 88 |ey-src) |".....!.|
|000005a0| aa 89 08 3b ac 85 c1 c3 | 08 5c 22 88 74 1c 0d ab |...;....|.\".t...|
|000005b0| 9e 0c ab 9b c6 c7 c8 0e | 09 ca 08 21 0e 0b 24 21 |........|...!..$!|
|000005c0| ab 88 cc 0c 08 0e 0d 23 | aa 8b ce cf 21 aa 86 cc |.......#|....!...|
|000005d0| 0c 08 0e 0d 23 29 87 22 | 20 5b 62 75 74 2d 6b 65 |....#)."| [but-ke|
|000005e0| 79 20 68 79 70 62 3a 65 | 72 72 6f 72 20 22 28 65 |y hypb:e|rror "(e|
|000005f0| 62 75 74 2d 64 65 6c 65 | 74 65 29 3a 20 50 6f 69 |but-dele|te): Poi|
|00000600| 6e 74 20 69 73 20 6e 6f | 74 20 6f 76 65 72 20 74 |nt is no|t over t|
|00000610| 68 65 20 6c 61 62 65 6c | 20 6f 66 20 61 6e 20 65 |he label| of an e|
|00000620| 78 69 73 74 69 6e 67 20 | 62 75 74 74 6f 6e 2e 22 |xisting |button."|
|00000630| 20 22 28 65 62 75 74 2d | 64 65 6c 65 74 65 29 3a | "(ebut-|delete):|
|00000640| 20 49 6e 76 61 6c 69 64 | 20 6c 61 62 65 6c 20 6b | Invalid| label k|
|00000650| 65 79 20 61 72 67 75 6d | 65 6e 74 3a 20 27 25 73 |ey argum|ent: '%s|
|00000660| 27 2e 22 20 69 6e 74 65 | 72 61 63 74 69 76 65 20 |'." inte|ractive |
|00000670| 68 75 69 3a 65 62 75 74 | 2d 64 65 6c 65 74 65 2d |hui:ebut|-delete-|
|00000680| 63 6f 6e 66 69 72 6d 2d | 70 20 79 2d 6f 72 2d 6e |confirm-|p y-or-n|
|00000690| 2d 70 20 66 6f 72 6d 61 | 74 20 22 44 65 6c 65 74 |-p forma|t "Delet|
|000006a0| 65 20 62 75 74 74 6f 6e | 20 25 73 25 73 25 73 3f |e button| %s%s%s?|
|000006b0| 20 22 20 65 62 75 74 3a | 73 74 61 72 74 20 68 62 | " ebut:|start hb|
|000006c0| 75 74 3a 6b 65 79 2d 74 | 6f 2d 6c 61 62 65 6c 20 |ut:key-t|o-label |
|000006d0| 65 62 75 74 3a 65 6e 64 | 20 68 75 69 3a 65 62 75 |ebut:end| hui:ebu|
|000006e0| 74 2d 64 65 6c 65 74 65 | 2d 6f 70 20 6b 65 79 2d |t-delete|-op key-|
|000006f0| 73 72 63 20 6d 65 73 73 | 61 67 65 20 22 22 5d 20 |src mess|age ""] |
|00000700| 36 20 22 5c 0a 44 65 6c | 65 74 65 73 20 65 78 70 |6 "\.Del|etes exp|
|00000710| 6c 69 63 69 74 20 48 79 | 70 65 72 62 6f 6c 65 20 |licit Hy|perbole |
|00000720| 62 75 74 74 6f 6e 20 67 | 69 76 65 6e 20 62 79 20 |button g|iven by |
|00000730| 42 55 54 2d 4b 45 59 20 | 69 6e 20 6f 70 74 69 6f |BUT-KEY |in optio|
|00000740| 6e 61 6c 20 4b 45 59 2d | 53 52 43 2e 0a 4b 45 59 |nal KEY-|SRC..KEY|
|00000750| 2d 53 52 43 20 6d 61 79 | 20 62 65 20 61 20 62 75 |-SRC may| be a bu|
|00000760| 66 66 65 72 20 6f 72 20 | 61 20 70 61 74 68 6e 61 |ffer or |a pathna|
|00000770| 6d 65 2c 20 77 68 65 6e | 20 6e 69 6c 20 74 68 65 |me, when| nil the|
|00000780| 20 63 75 72 72 65 6e 74 | 20 62 75 66 66 65 72 20 | current| buffer |
|00000790| 69 73 20 75 73 65 64 2e | 0a 52 65 74 75 72 6e 73 |is used.|.Returns|
|000007a0| 20 74 20 69 66 20 62 75 | 74 74 6f 6e 20 69 73 20 | t if bu|tton is |
|000007b0| 64 65 6c 65 74 65 64 2c | 20 6e 69 6c 20 69 66 20 |deleted,| nil if |
|000007c0| 75 73 65 72 20 63 68 6f | 6f 73 65 73 20 6e 6f 74 |user cho|oses not|
|000007d0| 20 74 6f 20 64 65 6c 65 | 74 65 20 6f 72 20 73 69 | to dele|te or si|
|000007e0| 67 6e 61 6c 73 0a 61 6e | 20 65 72 72 6f 72 20 6f |gnals.an| error o|
|000007f0| 74 68 65 72 77 69 73 65 | 2e 20 20 49 66 20 63 61 |therwise|. If ca|
|00000800| 6c 6c 65 64 20 69 6e 74 | 65 72 61 63 74 69 76 65 |lled int|eractive|
|00000810| 6c 79 2c 20 70 72 6f 6d | 70 74 73 20 75 73 65 72 |ly, prom|pts user|
|00000820| 20 77 68 65 74 68 65 72 | 20 74 6f 20 64 65 6c 65 | whether| to dele|
|00000830| 74 65 0a 61 6e 64 20 64 | 65 72 69 76 65 73 20 42 |te.and d|erives B|
|00000840| 55 54 2d 4b 45 59 20 66 | 72 6f 6d 20 74 68 65 20 |UT-KEY f|rom the |
|00000850| 62 75 74 74 6f 6e 20 74 | 68 61 74 20 70 6f 69 6e |button t|hat poin|
|00000860| 74 20 69 73 20 77 69 74 | 68 69 6e 2e 0a 53 69 67 |t is wit|hin..Sig|
|00000870| 6e 61 6c 73 20 61 6e 20 | 65 72 72 6f 72 20 69 66 |nals an |error if|
|00000880| 20 70 6f 69 6e 74 20 69 | 73 20 6e 6f 74 20 77 69 | point i|s not wi|
|00000890| 74 68 69 6e 20 61 20 62 | 75 74 74 6f 6e 2e 22 20 |thin a b|utton." |
|000008a0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 20 ad 84 |(byte-co|de ". ..|
|000008b0| c1 c2 c3 5c 22 43 87 22 | 20 5b 65 62 75 74 3a 61 |...\"C."| [ebut:a|
|000008c0| 74 2d 70 20 68 61 74 74 | 72 3a 67 65 74 20 68 62 |t-p hatt|r:get hb|
|000008d0| 75 74 3a 63 75 72 72 65 | 6e 74 20 6c 62 6c 2d 6b |ut:curre|nt lbl-k|
|000008e0| 65 79 5d 20 33 29 5d 29 | 0a 28 66 73 65 74 20 27 |ey] 3)])|.(fset '|
|000008f0| 68 75 69 3a 65 62 75 74 | 2d 65 64 69 74 20 23 5b |hui:ebut|-edit #[|
|00000900| 6e 69 6c 20 22 c0 c1 c2 | 21 21 0b 60 c4 1d 1e 06 |nil "...|!!.`....|
|00000910| 1e 07 89 1e 08 ad be c9 | 0e 08 21 c9 0e 07 21 3d |........|..!...!=|
|00000920| ad b3 0e 07 0e 08 57 ad | ac 0e 08 0e 07 5a 0e 5c |......W.|.....Z.\|
|00000930| 6e 58 ad a2 0e 06 0e 08 | 58 ad 9b 0e 07 0e 06 58 |nX......|X......X|
|00000940| ad 94 cb 20 89 15 ab 86 | cc 0d 21 88 aa 87 cd 0e |... ....|..!.....|
|00000950| 07 0e 08 5c 22 88 c2 2c | 87 22 20 5b 6d 61 72 6b |...\"..,|." [mark|
|00000960| 65 72 2d 70 6f 73 69 74 | 69 6f 6e 20 68 79 70 62 |er-posit|ion hypb|
|00000970| 3a 6d 61 72 6b 2d 6d 61 | 72 6b 65 72 20 74 20 61 |:mark-ma|rker t a|
|00000980| 63 74 69 6f 6e 2d 6b 65 | 79 2d 64 65 70 72 65 73 |ction-ke|y-depres|
|00000990| 73 2d 70 72 65 76 2d 70 | 6f 69 6e 74 20 6e 69 6c |s-prev-p|oint nil|
|000009a0| 20 6c 62 6c 2d 6b 65 79 | 20 70 20 6f 70 20 6d 20 | lbl-key| p op m |
|000009b0| 6d 61 72 6b 65 72 2d 62 | 75 66 66 65 72 20 65 62 |marker-b|uffer eb|
|000009c0| 75 74 3a 6d 61 78 2d 6c | 65 6e 20 65 62 75 74 3a |ut:max-l|en ebut:|
|000009d0| 6c 61 62 65 6c 2d 70 20 | 68 75 69 3a 65 62 75 74 |label-p |hui:ebut|
|000009e0| 2d 6d 6f 64 69 66 79 20 | 68 75 69 3a 65 62 75 74 |-modify |hui:ebut|
|000009f0| 2d 63 72 65 61 74 65 5d | 20 35 20 22 5c 0a 43 72 |-create]| 5 "\.Cr|
|00000a00| 65 61 74 65 73 20 6f 72 | 20 6d 6f 64 69 66 69 65 |eates or| modifie|
|00000a10| 73 20 61 6e 20 65 78 70 | 6c 69 63 69 74 20 48 79 |s an exp|licit Hy|
|00000a20| 70 65 72 62 6f 6c 65 20 | 62 75 74 74 6f 6e 20 77 |perbole |button w|
|00000a30| 68 65 6e 20 63 6f 6e 64 | 69 74 69 6f 6e 73 20 61 |hen cond|itions a|
|00000a40| 72 65 20 6d 65 74 2e 0a | 41 20 72 65 67 69 6f 6e |re met..|A region|
|00000a50| 20 6d 75 73 74 20 68 61 | 76 65 20 62 65 65 6e 20 | must ha|ve been |
|00000a60| 64 65 6c 69 6d 69 74 65 | 64 20 77 69 74 68 20 74 |delimite|d with t|
|00000a70| 68 65 20 61 63 74 69 6f | 6e 2d 6b 65 79 20 61 6e |he actio|n-key an|
|00000a80| 64 20 70 6f 69 6e 74 20 | 6d 75 73 74 20 6e 6f 77 |d point |must now|
|00000a90| 20 62 65 0a 77 69 74 68 | 69 6e 20 69 74 20 62 65 | be.with|in it be|
|00000aa0| 66 6f 72 65 20 74 68 69 | 73 20 66 75 6e 63 74 69 |fore thi|s functi|
|00000ab0| 6f 6e 20 69 73 20 63 61 | 6c 6c 65 64 20 6f 72 20 |on is ca|lled or |
|00000ac0| 69 74 20 77 69 6c 6c 20 | 64 6f 20 6e 6f 74 68 69 |it will |do nothi|
|00000ad0| 6e 67 2e 20 20 54 68 65 | 20 72 65 67 69 6f 6e 0a |ng. The| region.|
|00000ae0| 6d 75 73 74 20 62 65 20 | 6e 6f 20 6c 61 72 67 65 |must be |no large|
|00000af0| 72 20 74 68 61 6e 20 74 | 68 65 20 73 69 7a 65 20 |r than t|he size |
|00000b00| 67 69 76 65 6e 20 62 79 | 20 27 65 62 75 74 3a 6d |given by| 'ebut:m|
|00000b10| 61 78 2d 6c 65 6e 27 2e | 20 20 49 74 20 6d 75 73 |ax-len'.| It mus|
|00000b20| 74 20 62 65 20 65 6e 74 | 69 72 65 6c 79 0a 77 69 |t be ent|irely.wi|
|00000b30| 74 68 69 6e 20 6f 72 20 | 65 6e 74 69 72 65 6c 79 |thin or |entirely|
|00000b40| 20 6f 75 74 73 69 64 65 | 20 6f 66 20 61 6e 20 65 | outside| of an e|
|00000b50| 78 69 73 74 69 6e 67 20 | 65 78 70 6c 69 63 69 74 |xisting |explicit|
|00000b60| 20 62 75 74 74 6f 6e 2e | 20 20 57 68 65 6e 20 72 | button.| When r|
|00000b70| 65 67 69 6f 6e 20 69 73 | 0a 77 69 74 68 69 6e 20 |egion is|.within |
|00000b80| 74 68 65 20 62 75 74 74 | 6f 6e 2c 20 74 68 65 20 |the butt|on, the |
|00000b90| 62 75 74 74 6f 6e 20 69 | 73 20 69 6e 74 65 72 61 |button i|s intera|
|00000ba0| 63 74 69 76 65 6c 79 20 | 6d 6f 64 69 66 69 65 64 |ctively |modified|
|00000bb0| 2e 20 20 4f 74 68 65 72 | 77 69 73 65 2c 20 61 20 |. Other|wise, a |
|00000bc0| 6e 65 77 0a 62 75 74 74 | 6f 6e 20 69 73 20 63 72 |new.butt|on is cr|
|00000bd0| 65 61 74 65 64 20 69 6e | 74 65 72 61 63 74 69 76 |eated in|teractiv|
|00000be0| 65 6c 79 20 77 69 74 68 | 20 74 68 65 20 72 65 67 |ely with| the reg|
|00000bf0| 69 6f 6e 20 61 73 20 74 | 68 65 20 64 65 66 61 75 |ion as t|he defau|
|00000c00| 6c 74 20 6c 61 62 65 6c | 2e 22 20 6e 69 6c 5d 29 |lt label|." nil])|
|00000c10| 0a 28 66 73 65 74 20 27 | 68 75 69 3a 65 62 75 74 |.(fset '|hui:ebut|
|00000c20| 2d 6d 6f 64 69 66 79 20 | 23 5b 28 6c 62 6c 2d 6b |-modify |#[(lbl-k|
|00000c30| 65 79 29 20 22 c0 09 21 | 70 c2 89 89 1b 1c 1d 1e |ey) "..!|p.......|
|00000c40| 06 1e 07 8a 74 ac 86 c8 | 0e 06 c9 5c 22 88 ca 09 |....t...|...\"...|
|00000c50| 0e 06 5c 22 89 14 ac 8b | cb 0e 06 21 88 cc cd 0e |..\"....|...!....|
|00000c60| 07 5c 22 88 ce cf d0 0e | 07 d1 d2 0e 13 5c 22 d4 |.\".....|.....\".|
|00000c70| 25 13 d5 d6 d7 d8 0e 06 | 21 23 88 d5 d6 d9 da 0e |%.......|!#......|
|00000c80| 06 21 23 88 db dc 0c c5 | 5c 22 21 15 d5 d6 c5 0d |.!#.....|\"!.....|
|00000c90| 23 88 d5 d6 dd de 0d df | 5c 22 23 88 d5 d6 e0 e1 |#.......|\"#.....|
|00000ca0| e2 21 ad 87 0e 5c 22 ad | 83 e3 0d 21 23 88 29 e4 |.!...\".|...!#.).|
|00000cb0| 0e 07 0b 5c 22 2d 87 22 | 20 5b 65 62 75 74 3a 6b |...\"-."| [ebut:k|
|00000cc0| 65 79 2d 74 6f 2d 6c 61 | 62 65 6c 20 6c 62 6c 2d |ey-to-la|bel lbl-|
|00000cd0| 6b 65 79 20 6e 69 6c 20 | 6e 65 77 2d 6c 62 6c 20 |key nil |new-lbl |
|00000ce0| 62 75 74 20 61 63 74 79 | 70 65 20 62 75 74 2d 62 |but acty|pe but-b|
|00000cf0| 75 66 20 6c 62 6c 20 68 | 75 69 3a 62 75 66 2d 77 |uf lbl h|ui:buf-w|
|00000d00| 72 69 74 61 62 6c 65 2d | 65 72 72 20 22 65 62 75 |ritable-|err "ebu|
|00000d10| 74 2d 6d 6f 64 69 66 79 | 22 20 65 62 75 74 3a 67 |t-modify|" ebut:g|
|00000d20| 65 74 20 70 6f 70 2d 74 | 6f 2d 62 75 66 66 65 72 |et pop-t|o-buffer|
|00000d30| 20 68 79 70 62 3a 65 72 | 72 6f 72 20 22 28 65 62 | hypb:er|ror "(eb|
|00000d40| 75 74 2d 6d 6f 64 69 66 | 79 29 3a 20 49 6e 76 61 |ut-modif|y): Inva|
|00000d50| 6c 69 64 20 62 75 74 74 | 6f 6e 2c 20 6e 6f 20 64 |lid butt|on, no d|
|00000d60| 61 74 61 20 66 6f 72 20 | 27 25 73 27 2e 22 20 68 |ata for |'%s'." h|
|00000d70| 61 72 67 73 3a 72 65 61 | 64 20 22 43 68 61 6e 67 |args:rea|d "Chang|
|00000d80| 65 20 62 75 74 74 6f 6e | 20 6c 61 62 65 6c 20 74 |e button| label t|
|00000d90| 6f 3a 20 22 20 23 5b 28 | 6c 62 6c 29 20 22 08 c1 |o: " #[(|lbl) "..|
|00000da0| 98 3f ad 84 08 47 5c 6e | 58 87 22 20 5b 6c 62 6c |.?...G\n|X." [lbl|
|00000db0| 20 22 22 20 65 62 75 74 | 3a 6d 61 78 2d 6c 65 6e | "" ebut|:max-len|
|00000dc0| 5d 20 32 5d 20 66 6f 72 | 6d 61 74 20 22 28 65 62 |] 2] for|mat "(eb|
|00000dd0| 75 74 2d 6d 6f 64 69 66 | 79 29 3a 20 45 6e 74 65 |ut-modif|y): Ente|
|00000de0| 72 20 61 20 73 74 72 69 | 6e 67 20 6f 66 20 61 74 |r a stri|ng of at|
|00000df0| 20 6d 6f 73 74 20 25 73 | 20 63 68 61 72 73 2e 22 | most %s| chars."|
|00000e00| 20 65 62 75 74 3a 6d 61 | 78 2d 6c 65 6e 20 73 74 | ebut:ma|x-len st|
|00000e10| 72 69 6e 67 20 68 61 74 | 74 72 3a 73 65 74 20 68 |ring hat|tr:set h|
|00000e20| 62 75 74 3a 63 75 72 72 | 65 6e 74 20 6c 6f 63 20 |but:curr|ent loc |
|00000e30| 68 75 69 3a 6b 65 79 2d | 73 72 63 20 64 69 72 20 |hui:key-|src dir |
|00000e40| 68 75 69 3a 6b 65 79 2d | 64 69 72 20 68 75 69 3a |hui:key-|dir hui:|
|00000e50| 61 63 74 79 70 65 20 68 | 61 74 74 72 3a 67 65 74 |actype h|attr:get|
|00000e60| 20 61 72 67 73 20 68 61 | 72 67 73 3a 61 63 74 79 | args ha|rgs:acty|
|00000e70| 70 65 2d 67 65 74 20 6d | 6f 64 69 66 79 69 6e 67 |pe-get m|odifying|
|00000e80| 20 61 63 74 69 6f 6e 20 | 62 6f 75 6e 64 70 20 68 | action |boundp h|
|00000e90| 75 69 3a 65 62 75 74 2d | 70 72 6f 6d 70 74 2d 66 |ui:ebut-|prompt-f|
|00000ea0| 6f 72 2d 61 63 74 69 6f | 6e 20 68 75 69 3a 61 63 |or-actio|n hui:ac|
|00000eb0| 74 69 6f 6e 20 65 62 75 | 74 3a 6f 70 65 72 61 74 |tion ebu|t:operat|
|00000ec0| 65 5d 20 37 20 22 5c 0a | 4d 6f 64 69 66 69 65 73 |e] 7 "\.|Modifies|
|00000ed0| 20 61 6e 20 65 78 70 6c | 69 63 69 74 20 48 79 70 | an expl|icit Hyp|
|00000ee0| 65 72 62 6f 6c 65 20 62 | 75 74 74 6f 6e 20 67 69 |erbole b|utton gi|
|00000ef0| 76 65 6e 20 62 79 20 4c | 42 4c 2d 4b 45 59 2e 0a |ven by L|BL-KEY..|
|00000f00| 53 69 67 6e 61 6c 73 20 | 61 6e 20 65 72 72 6f 72 |Signals |an error|
|00000f10| 20 77 68 65 6e 20 6e 6f | 20 73 75 63 68 20 62 75 | when no| such bu|
|00000f20| 74 74 6f 6e 20 69 73 20 | 66 6f 75 6e 64 20 69 6e |tton is |found in|
|00000f30| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 62 75 66 | the cur|rent buf|
|00000f40| 66 65 72 2e 22 20 28 62 | 79 74 65 2d 63 6f 64 65 |fer." (b|yte-code|
|00000f50| 20 22 8a c0 70 c1 5c 22 | 88 c2 20 ae 8c c3 c4 c5 | "..p.\"|.. .....|
|00000f60| c6 20 c7 c8 c7 c9 26 06 | 21 29 43 87 22 20 5b 68 |. ....&.|!)C." [h|
|00000f70| 75 69 3a 62 75 66 2d 77 | 72 69 74 61 62 6c 65 2d |ui:buf-w|ritable-|
|00000f80| 65 72 72 20 22 65 62 75 | 74 2d 6d 6f 64 69 66 79 |err "ebu|t-modify|
|00000f90| 22 20 65 62 75 74 3a 6c | 61 62 65 6c 2d 70 20 65 |" ebut:l|abel-p e|
|00000fa0| 62 75 74 3a 6c 61 62 65 | 6c 2d 74 6f 2d 6b 65 79 |but:labe|l-to-key|
|00000fb0| 20 68 61 72 67 73 3a 72 | 65 61 64 2d 6d 61 74 63 | hargs:r|ead-matc|
|00000fc0| 68 20 22 42 75 74 74 6f | 6e 20 74 6f 20 6d 6f 64 |h "Butto|n to mod|
|00000fd0| 69 66 79 3a 20 22 20 65 | 62 75 74 3a 61 6c 69 73 |ify: " e|but:alis|
|00000fe0| 74 20 6e 69 6c 20 74 20 | 65 62 75 74 5d 20 38 29 |t nil t |ebut] 8)|
|00000ff0| 5d 29 0a 28 66 73 65 74 | 20 27 68 75 69 3a 65 62 |]).(fset| 'hui:eb|
|00001000| 75 74 2d 72 65 6e 61 6d | 65 20 23 5b 28 63 75 72 |ut-renam|e #[(cur|
|00001010| 72 2d 6c 61 62 65 6c 20 | 6e 65 77 2d 6c 61 62 65 |r-label |new-labe|
|00001020| 6c 29 20 22 8a 74 ac a4 | c0 70 c1 5c 22 88 5c 6e |l) ".t..|.p.\".\n|
|00001030| 3b ab 85 5c 6e c3 98 ab | 85 c4 c5 5c 6e 5c 22 88 |;..\n...|...\n\".|
|00001040| 0e 06 3b ab 8c 0e 06 c3 | 98 ab 86 c4 c7 0e 06 5c |..;.....|.......\|
|00001050| 22 88 c8 c9 5c 6e 21 21 | ac 85 c4 ca 5c 6e 5c 22 |"...\n!!|....\n\"|
|00001060| 88 29 0e 06 ab 90 cb 5c | 6e 0e 06 5c 22 88 cc 16 |.).....\|n..\"...|
|00001070| 0d ce cf 5c 6e 0e 06 23 | 87 5c 6e ab 87 5c 6e 16 |...\n..#|.\n..\n.|
|00001080| 0d ce d0 21 87 c4 d1 21 | 87 22 20 5b 68 75 69 3a |...!...!|." [hui:|
|00001090| 62 75 66 2d 77 72 69 74 | 61 62 6c 65 2d 65 72 72 |buf-writ|able-err|
|000010a0| 20 22 65 62 75 74 2d 72 | 65 6e 61 6d 65 22 20 63 | "ebut-r|ename" c|
|000010b0| 75 72 72 2d 6c 61 62 65 | 6c 20 22 22 20 68 79 70 |urr-labe|l "" hyp|
|000010c0| 62 3a 65 72 72 6f 72 20 | 22 28 65 62 75 74 2d 72 |b:error |"(ebut-r|
|000010d0| 65 6e 61 6d 65 29 3a 20 | 27 63 75 72 72 2d 6c 61 |ename): |'curr-la|
|000010e0| 62 65 6c 27 20 6d 75 73 | 74 20 62 65 20 61 20 6e |bel' mus|t be a n|
|000010f0| 6f 6e 2d 65 6d 70 74 79 | 20 73 74 72 69 6e 67 3a |on-empty| string:|
|00001100| 20 25 73 22 20 6e 65 77 | 2d 6c 61 62 65 6c 20 22 | %s" new|-label "|
|00001110| 28 65 62 75 74 2d 72 65 | 6e 61 6d 65 29 3a 20 27 |(ebut-re|name): '|
|00001120| 6e 65 77 2d 6c 61 62 65 | 6c 27 20 6d 75 73 74 20 |new-labe|l' must |
|00001130| 62 65 20 61 20 6e 6f 6e | 2d 65 6d 70 74 79 20 73 |be a non|-empty s|
|00001140| 74 72 69 6e 67 3a 20 25 | 73 22 20 65 62 75 74 3a |tring: %|s" ebut:|
|00001150| 67 65 74 20 65 62 75 74 | 3a 6c 61 62 65 6c 2d 74 |get ebut|:label-t|
|00001160| 6f 2d 6b 65 79 20 22 28 | 65 62 75 74 2d 72 65 6e |o-key "(|ebut-ren|
|00001170| 61 6d 65 29 3a 20 43 61 | 6e 27 74 20 72 65 6e 61 |ame): Ca|n't rena|
|00001180| 6d 65 20 25 73 20 73 69 | 6e 63 65 20 6e 6f 20 62 |me %s si|nce no b|
|00001190| 75 74 74 6f 6e 20 64 61 | 74 61 2e 22 20 65 62 75 |utton da|ta." ebu|
|000011a0| 74 3a 6f 70 65 72 61 74 | 65 20 6e 69 6c 20 68 75 |t:operat|e nil hu|
|000011b0| 69 3a 65 62 75 74 2d 6c | 61 62 65 6c 2d 70 72 65 |i:ebut-l|abel-pre|
|000011c0| 76 20 6d 65 73 73 61 67 | 65 20 22 52 65 6e 61 6d |v messag|e "Renam|
|000011d0| 65 64 20 66 72 6f 6d 20 | 27 25 73 27 20 74 6f 20 |ed from |'%s' to |
|000011e0| 27 25 73 27 2e 22 20 22 | 45 64 69 74 20 62 75 74 |'%s'." "|Edit but|
|000011f0| 74 6f 6e 20 6c 61 62 65 | 6c 20 61 6e 64 20 75 73 |ton labe|l and us|
|00001200| 65 20 73 61 6d 65 20 63 | 6f 6d 6d 61 6e 64 20 74 |e same c|ommand t|
|00001210| 6f 20 66 69 6e 69 73 68 | 20 72 65 6e 61 6d 65 2e |o finish| rename.|
|00001220| 22 20 22 28 65 62 75 74 | 2d 72 65 6e 61 6d 65 29 |" "(ebut|-rename)|
|00001230| 3a 20 4d 6f 76 65 20 70 | 6f 69 6e 74 20 74 6f 20 |: Move p|oint to |
|00001240| 77 69 74 68 69 6e 20 61 | 20 62 75 74 74 6f 6e 20 |within a| button |
|00001250| 6c 61 62 65 6c 2e 22 5d | 20 34 20 22 5c 0a 52 65 |label."]| 4 "\.Re|
|00001260| 6e 61 6d 65 73 20 65 78 | 70 6c 69 63 69 74 20 48 |names ex|plicit H|
|00001270| 79 70 65 72 62 6f 6c 65 | 20 62 75 74 74 6f 6e 20 |yperbole| button |
|00001280| 67 69 76 65 6e 20 62 79 | 20 43 55 52 52 2d 4c 41 |given by| CURR-LA|
|00001290| 42 45 4c 20 74 6f 20 4e | 45 57 2d 4c 41 42 45 4c |BEL to N|EW-LABEL|
|000012a0| 2e 0a 49 66 20 63 61 6c | 6c 65 64 20 69 6e 74 65 |..If cal|led inte|
|000012b0| 72 61 63 74 69 76 65 6c | 79 20 77 68 65 6e 20 70 |ractivel|y when p|
|000012c0| 6f 69 6e 74 20 69 73 20 | 6e 6f 74 20 77 69 74 68 |oint is |not with|
|000012d0| 69 6e 20 61 6e 20 65 78 | 70 6c 69 63 69 74 20 62 |in an ex|plicit b|
|000012e0| 75 74 74 6f 6e 3a 0a 20 | 20 20 70 72 6f 6d 70 74 |utton:. | prompt|
|000012f0| 73 20 66 6f 72 20 6f 6c | 64 20 61 6e 64 20 6e 65 |s for ol|d and ne|
|00001300| 77 20 62 75 74 74 6f 6e | 20 6c 61 62 65 6c 20 76 |w button| label v|
|00001310| 61 6c 75 65 73 20 61 6e | 64 20 70 65 72 66 6f 72 |alues an|d perfor|
|00001320| 6d 73 20 72 65 6e 61 6d | 65 2e 0a 49 66 20 63 61 |ms renam|e..If ca|
|00001330| 6c 6c 65 64 20 69 6e 74 | 65 72 61 63 74 69 76 65 |lled int|eractive|
|00001340| 6c 79 20 77 68 65 6e 20 | 70 6f 69 6e 74 20 69 73 |ly when |point is|
|00001350| 20 77 69 74 68 69 6e 20 | 61 6e 20 65 78 70 6c 69 | within |an expli|
|00001360| 63 69 74 20 62 75 74 74 | 6f 6e 3a 0a 20 20 20 73 |cit butt|on:. s|
|00001370| 61 76 65 73 20 62 75 74 | 74 6f 6e 20 6c 61 62 65 |aves but|ton labe|
|00001380| 6c 20 61 6e 64 20 74 65 | 6c 6c 73 20 75 73 65 72 |l and te|lls user|
|00001390| 20 74 6f 20 65 64 69 74 | 20 6c 61 62 65 6c 2c 20 | to edit| label, |
|000013a0| 74 68 65 6e 20 63 61 6c | 6c 20 61 67 61 69 6e 2e |then cal|l again.|
|000013b0| 0a 20 20 20 73 65 63 6f | 6e 64 20 63 61 6c 6c 20 |. seco|nd call |
|000013c0| 63 68 61 6e 67 65 73 20 | 74 68 65 20 62 75 74 74 |changes |the butt|
|000013d0| 6f 6e 27 73 20 6e 61 6d | 65 20 66 72 6f 6d 20 74 |on's nam|e from t|
|000013e0| 68 65 20 73 74 6f 72 65 | 64 20 76 61 6c 75 65 20 |he store|d value |
|000013f0| 74 6f 20 74 68 65 0a 20 | 20 20 65 64 69 74 65 64 |to the. | edited|
|00001400| 20 76 61 6c 75 65 2e 0a | 53 69 67 6e 61 6c 73 20 | value..|Signals |
|00001410| 61 6e 20 65 72 72 6f 72 | 20 69 66 20 61 6e 79 20 |an error| if any |
|00001420| 70 72 6f 62 6c 65 6d 20 | 6f 63 63 75 72 73 2e 22 |problem |occurs."|
|00001430| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 8a c0 89 | (byte-c|ode "...|
|00001440| 19 1a c3 70 c4 5c 22 88 | 0d ab 88 0d 12 c6 c7 21 |...p.\".|.......!|
|00001450| 11 aa ab c0 11 c6 c7 21 | ae a3 c8 20 89 1e 09 ac |.......!|... ....|
|00001460| 85 ca cb 21 aa 96 cc cd | 0e 09 c0 ce c0 cf 26 06 |...!....|......&.|
|00001470| d0 d1 d2 5c 6e d3 d4 0e | 15 5c 22 d6 25 11 29 12 |...\n...|.\".%.).|
|00001480| 5c 6e 09 2b 44 87 22 20 | 5b 6e 69 6c 20 6e 65 77 |\n.+D." |[nil new|
|00001490| 2d 6c 61 62 65 6c 20 63 | 75 72 72 2d 6c 61 62 65 |-label c|urr-labe|
|000014a0| 6c 20 68 75 69 3a 62 75 | 66 2d 77 72 69 74 61 62 |l hui:bu|f-writab|
|000014b0| 6c 65 2d 65 72 72 20 22 | 65 62 75 74 2d 72 65 6e |le-err "|ebut-ren|
|000014c0| 61 6d 65 22 20 68 75 69 | 3a 65 62 75 74 2d 6c 61 |ame" hui|:ebut-la|
|000014d0| 62 65 6c 2d 70 72 65 76 | 20 65 62 75 74 3a 6c 61 |bel-prev| ebut:la|
|000014e0| 62 65 6c 2d 70 20 61 73 | 2d 6c 61 62 65 6c 20 65 |bel-p as|-label e|
|000014f0| 62 75 74 3a 61 6c 69 73 | 74 20 62 75 74 73 20 68 |but:alis|t buts h|
|00001500| 79 70 62 3a 65 72 72 6f | 72 20 22 28 65 62 75 74 |ypb:erro|r "(ebut|
|00001510| 2d 72 65 6e 61 6d 65 29 | 3a 20 4e 6f 20 65 78 70 |-rename)|: No exp|
|00001520| 6c 69 63 69 74 20 62 75 | 74 74 6f 6e 73 20 69 6e |licit bu|ttons in|
|00001530| 20 62 75 66 66 65 72 2e | 22 20 68 61 72 67 73 3a | buffer.|" hargs:|
|00001540| 72 65 61 64 2d 6d 61 74 | 63 68 20 22 42 75 74 74 |read-mat|ch "Butt|
|00001550| 6f 6e 20 6c 61 62 65 6c | 20 74 6f 20 72 65 6e 61 |on label| to rena|
|00001560| 6d 65 3a 20 22 20 74 20 | 65 62 75 74 20 68 61 72 |me: " t |ebut har|
|00001570| 67 73 3a 72 65 61 64 20 | 22 52 65 6e 61 6d 65 20 |gs:read |"Rename |
|00001580| 62 75 74 74 6f 6e 20 6c | 61 62 65 6c 20 74 6f 3a |button l|abel to:|
|00001590| 20 22 20 23 5b 28 6c 62 | 6c 29 20 22 08 c1 98 3f | " #[(lb|l) "...?|
|000015a0| ad 84 08 47 5c 6e 58 87 | 22 20 5b 6c 62 6c 20 22 |...G\nX.|" [lbl "|
|000015b0| 22 20 65 62 75 74 3a 6d | 61 78 2d 6c 65 6e 5d 20 |" ebut:m|ax-len] |
|000015c0| 32 5d 20 66 6f 72 6d 61 | 74 20 22 28 65 62 75 74 |2] forma|t "(ebut|
|000015d0| 2d 72 65 6e 61 6d 65 29 | 3a 20 55 73 65 20 61 20 |-rename)|: Use a |
|000015e0| 71 75 6f 74 65 64 20 73 | 74 72 69 6e 67 20 6f 66 |quoted s|tring of|
|000015f0| 20 61 74 20 6d 6f 73 74 | 20 25 73 20 63 68 61 72 | at most| %s char|
|00001600| 73 2e 22 20 65 62 75 74 | 3a 6d 61 78 2d 6c 65 6e |s." ebut|:max-len|
|00001610| 20 73 74 72 69 6e 67 5d | 20 39 29 5d 29 0a 28 66 | string]| 9)]).(f|
|00001620| 73 65 74 20 27 68 75 69 | 3a 65 62 75 74 2d 73 65 |set 'hui|:ebut-se|
|00001630| 61 72 63 68 20 23 5b 28 | 73 74 72 69 6e 67 20 26 |arch #[(|string &|
|00001640| 6f 70 74 69 6f 6e 61 6c | 20 6d 61 74 63 68 2d 70 |optional| match-p|
|00001650| 61 72 74 29 20 22 08 3b | ac 84 c1 c2 21 88 08 47 |art) ".;|....!..G|
|00001660| c3 56 ab 86 08 c4 c5 4f | aa 81 08 1e 06 c7 c8 0e |.V.....O|........|
|00001670| 06 c9 51 21 1e 5c 6e cb | 08 0e 5c 6e 0e 0c 23 89 |..Q!.\n.|..\n..#.|
|00001680| 1e 0d c4 56 ab d2 0e 5c | 6e 71 88 ce 20 88 cf d0 |...V...\|nq.. ...|
|00001690| 21 ab 8e d1 62 88 d2 d3 | d4 d5 23 ab 84 d0 d1 21 |!...b...|..#....!|
|000016a0| 88 cf d6 21 ab 94 d6 d4 | 89 d7 0e 0c ab 83 08 aa |...!....|........|
|000016b0| 86 0e 18 08 0e 19 51 21 | 23 88 65 62 88 da 0e 5c |......Q!|#.eb...\|
|000016c0| 6e 21 88 74 ab 90 db dc | 0e 0d 89 d1 56 ab 83 dd |n!.t....|....V...|
|000016d0| aa 81 de 23 aa 8e 0e 0d | aa 8a 74 ab 85 db df 21 |...#....|..t....!|
|000016e0| aa 82 0e 0d 2b 87 22 20 | 5b 73 74 72 69 6e 67 20 |....+." |[string |
|000016f0| 68 79 70 62 3a 65 72 72 | 6f 72 20 22 28 65 62 75 |hypb:err|or "(ebu|
|00001700| 74 2d 73 65 61 72 63 68 | 29 3a 20 53 74 72 69 6e |t-search|): Strin|
|00001710| 67 20 74 6f 20 73 65 61 | 72 63 68 20 66 6f 72 20 |g to sea|rch for |
|00001720| 69 73 20 72 65 71 75 69 | 72 65 64 2e 22 20 31 34 |is requi|red." 14|
|00001730| 20 30 20 31 33 20 70 72 | 65 66 69 78 20 67 65 74 | 0 13 pr|efix get|
|00001740| 2d 62 75 66 66 65 72 2d | 63 72 65 61 74 65 20 22 |-buffer-|create "|
|00001750| 2a 22 20 22 20 48 79 70 | 62 20 53 65 61 72 63 68 |*" " Hyp|b Search|
|00001760| 2a 22 20 6f 75 74 2d 62 | 75 66 20 65 62 75 74 3a |*" out-b|uf ebut:|
|00001770| 73 65 61 72 63 68 20 6d | 61 74 63 68 2d 70 61 72 |search m|atch-par|
|00001780| 74 20 74 6f 74 61 6c 20 | 6d 6f 63 63 75 72 2d 6d |t total |moccur-m|
|00001790| 6f 64 65 20 66 62 6f 75 | 6e 64 70 20 6f 75 74 6c |ode fbou|ndp outl|
|000017a0| 69 6e 65 2d 6d 69 6e 6f | 72 2d 6d 6f 64 65 20 31 |ine-mino|r-mode 1|
|000017b0| 20 73 65 61 72 63 68 2d | 66 6f 72 77 61 72 64 20 | search-|forward |
|000017c0| 22 0d 22 20 6e 69 6c 20 | 74 20 68 70 72 6f 70 65 |"." nil |t hprope|
|000017d0| 72 74 79 3a 62 75 74 2d | 63 72 65 61 74 65 20 72 |rty:but-|create r|
|000017e0| 65 67 65 78 70 2d 71 75 | 6f 74 65 20 65 62 75 74 |egexp-qu|ote ebut|
|000017f0| 3a 73 74 61 72 74 20 65 | 62 75 74 3a 65 6e 64 20 |:start e|but:end |
|00001800| 70 6f 70 2d 74 6f 2d 62 | 75 66 66 65 72 20 6d 65 |pop-to-b|uffer me|
|00001810| 73 73 61 67 65 20 22 25 | 64 20 6d 61 74 63 68 25 |ssage "%|d match%|
|00001820| 73 2e 22 20 22 65 73 22 | 20 22 22 20 22 4e 6f 20 |s." "es"| "" "No |
|00001830| 6d 61 74 63 68 65 73 2e | 22 5d 20 38 20 22 5c 0a |matches.|"] 8 "\.|
|00001840| 53 68 6f 77 73 20 6c 69 | 6e 65 73 20 6f 66 20 66 |Shows li|nes of f|
|00001850| 69 6c 65 73 2f 62 75 66 | 66 65 72 73 20 63 6f 6e |iles/buf|fers con|
|00001860| 74 61 69 6e 69 6e 67 20 | 61 6e 20 65 78 70 6c 69 |taining |an expli|
|00001870| 63 69 74 20 62 75 74 20 | 6d 61 74 63 68 20 66 6f |cit but |match fo|
|00001880| 72 20 53 54 52 49 4e 47 | 2e 0a 52 65 74 75 72 6e |r STRING|..Return|
|00001890| 73 20 6e 75 6d 62 65 72 | 20 6f 66 20 62 75 74 74 |s number| of butt|
|000018a0| 6f 6e 73 20 6d 61 74 63 | 68 65 64 20 61 6e 64 20 |ons matc|hed and |
|000018b0| 64 69 73 70 6c 61 79 65 | 64 2e 0a 42 79 20 64 65 |displaye|d..By de|
|000018c0| 66 61 75 6c 74 2c 20 6f | 6e 6c 79 20 6d 61 74 63 |fault, o|nly matc|
|000018d0| 68 65 73 20 66 6f 72 20 | 77 68 6f 6c 65 20 62 75 |hes for |whole bu|
|000018e0| 74 74 6f 6e 20 6c 61 62 | 65 6c 73 20 61 72 65 20 |tton lab|els are |
|000018f0| 66 6f 75 6e 64 2c 20 6f | 70 74 69 6f 6e 61 6c 20 |found, o|ptional |
|00001900| 4d 41 54 43 48 2d 50 41 | 52 54 0a 65 6e 61 62 6c |MATCH-PA|RT.enabl|
|00001910| 65 73 20 70 61 72 74 69 | 61 6c 20 6d 61 74 63 68 |es parti|al match|
|00001920| 65 73 2e 20 20 54 68 65 | 20 6d 61 74 63 68 20 6c |es. The| match l|
|00001930| 69 6e 65 73 20 61 72 65 | 20 73 68 6f 77 6e 20 69 |ines are| shown i|
|00001940| 6e 20 61 20 62 75 66 66 | 65 72 20 77 68 69 63 68 |n a buff|er which|
|00001950| 20 73 65 72 76 65 73 20 | 61 73 0a 61 20 6d 65 6e | serves |as.a men|
|00001960| 75 20 74 6f 20 66 69 6e | 64 20 61 6e 79 20 6f 66 |u to fin|d any of|
|00001970| 20 74 68 65 20 6f 63 63 | 75 72 72 65 6e 63 65 73 | the occ|urrences|
|00001980| 2e 22 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |." (byte|-code ".|
|00001990| c1 21 c2 c3 21 44 87 22 | 20 5b 72 65 61 64 2d 73 |.!..!D."| [read-s|
|000019a0| 74 72 69 6e 67 20 22 53 | 65 61 72 63 68 20 66 6f |tring "S|earch fo|
|000019b0| 72 20 62 75 74 74 6f 6e | 20 73 74 72 69 6e 67 3a |r button| string:|
|000019c0| 20 22 20 79 2d 6f 72 2d | 6e 2d 70 20 22 45 6e 61 | " y-or-|n-p "Ena|
|000019d0| 62 6c 65 20 70 61 72 74 | 69 61 6c 20 6d 61 74 63 |ble part|ial matc|
|000019e0| 68 65 73 3f 20 22 5d 20 | 33 29 5d 29 0a 28 66 73 |hes? "] |3)]).(fs|
|000019f0| 65 74 20 27 68 75 69 3a | 65 72 72 6f 72 20 23 5b |et 'hui:|error #[|
|00001a00| 28 26 72 65 73 74 20 61 | 72 67 73 29 20 22 c0 c1 |(&rest a|rgs) "..|
|00001a10| 21 87 22 20 5b 68 79 70 | 62 3a 65 72 72 6f 72 20 |!." [hyp|b:error |
|00001a20| 22 28 68 75 69 3a 65 72 | 72 6f 72 29 3a 20 4f 62 |"(hui:er|ror): Ob|
|00001a30| 73 6f 6c 65 74 65 2c 20 | 75 73 65 20 68 79 70 62 |solete, |use hypb|
|00001a40| 3a 65 72 72 6f 72 20 69 | 6e 73 74 65 61 64 2e 22 |:error i|nstead."|
|00001a50| 5d 20 32 5d 29 0a 28 66 | 73 65 74 20 27 68 75 69 |] 2]).(f|set 'hui|
|00001a60| 3a 67 62 75 74 2d 63 72 | 65 61 74 65 20 23 5b 28 |:gbut-cr|eate #[(|
|00001a70| 6c 62 6c 29 20 22 c0 89 | 19 1a 8a c3 20 11 c4 0d |lbl) "..|.... ...|
|00001a80| 21 71 12 c6 5c 6e c7 5c | 22 88 8a 64 62 88 c8 c9 |!q..\n.\|"..db...|
|00001a90| ca cb 5c 6e 21 23 88 c8 | c9 cc cd 5c 6e 21 23 88 |..\n!#..|...\n!#.|
|00001aa0| c8 c9 c1 09 23 88 c8 c9 | ce cf 09 21 23 88 c8 c9 |....#...|...!#...|
|00001ab0| d0 d1 d2 21 ad 87 0e 12 | ad 83 d3 09 21 23 88 0e |...!....|....!#..|
|00001ac0| 14 d5 0e 14 c0 5c 22 50 | 16 14 64 62 88 d6 63 88 |.....\"P|..db..c.|
|00001ad0| d7 20 88 29 d8 d9 0e 14 | 5c 22 2b 87 22 20 5b 6e |. .)....|\"+." [n|
|00001ae0| 69 6c 20 61 63 74 79 70 | 65 20 62 75 74 2d 62 75 |il actyp|e but-bu|
|00001af0| 66 20 68 75 69 3a 61 63 | 74 79 70 65 20 66 69 6e |f hui:ac|type fin|
|00001b00| 64 2d 66 69 6c 65 2d 6e | 6f 73 65 6c 65 63 74 20 |d-file-n|oselect |
|00001b10| 67 62 75 74 3a 66 69 6c | 65 20 68 75 69 3a 62 75 |gbut:fil|e hui:bu|
|00001b20| 66 2d 77 72 69 74 61 62 | 6c 65 2d 65 72 72 20 22 |f-writab|le-err "|
|00001b30| 65 62 75 74 2d 63 72 65 | 61 74 65 22 20 68 61 74 |ebut-cre|ate" hat|
|00001b40| 74 72 3a 73 65 74 20 68 | 62 75 74 3a 63 75 72 72 |tr:set h|but:curr|
|00001b50| 65 6e 74 20 6c 6f 63 20 | 68 75 69 3a 6b 65 79 2d |ent loc |hui:key-|
|00001b60| 73 72 63 20 64 69 72 20 | 68 75 69 3a 6b 65 79 2d |src dir |hui:key-|
|00001b70| 64 69 72 20 61 72 67 73 | 20 68 61 72 67 73 3a 61 |dir args| hargs:a|
|00001b80| 63 74 79 70 65 2d 67 65 | 74 20 61 63 74 69 6f 6e |ctype-ge|t action|
|00001b90| 20 62 6f 75 6e 64 70 20 | 68 75 69 3a 65 62 75 74 | boundp |hui:ebut|
|00001ba0| 2d 70 72 6f 6d 70 74 2d | 66 6f 72 2d 61 63 74 69 |-prompt-|for-acti|
|00001bb0| 6f 6e 20 68 75 69 3a 61 | 63 74 69 6f 6e 20 6c 62 |on hui:a|ction lb|
|00001bc0| 6c 20 65 62 75 74 3a 6f | 70 65 72 61 74 65 20 22 |l ebut:o|perate "|
|00001bd0| 5c 6e 22 20 73 61 76 65 | 2d 62 75 66 66 65 72 20 |\n" save|-buffer |
|00001be0| 6d 65 73 73 61 67 65 20 | 22 25 73 20 63 72 65 61 |message |"%s crea|
|00001bf0| 74 65 64 2e 22 5d 20 35 | 20 22 5c 0a 43 72 65 61 |ted."] 5| "\.Crea|
|00001c00| 74 65 73 20 48 79 70 65 | 72 62 6f 6c 65 20 67 6c |tes Hype|rbole gl|
|00001c10| 6f 62 61 6c 20 62 75 74 | 74 6f 6e 20 77 69 74 68 |obal but|ton with|
|00001c20| 20 4c 42 4c 2e 22 20 22 | 73 43 72 65 61 74 65 20 | LBL." "|sCreate |
|00001c30| 67 6c 6f 62 61 6c 20 62 | 75 74 74 6f 6e 20 6c 61 |global b|utton la|
|00001c40| 62 65 6c 65 64 3a 20 22 | 5d 29 0a 28 66 73 65 74 |beled: "|]).(fset|
|00001c50| 20 27 68 75 69 3a 67 62 | 75 74 2d 6d 6f 64 69 66 | 'hui:gb|ut-modif|
|00001c60| 79 20 23 5b 28 6c 62 6c | 2d 6b 65 79 29 20 22 c0 |y #[(lbl|-key) ".|
|00001c70| 09 21 c2 0b 21 c4 89 89 | 1d 1e 06 1e 07 1e 08 1e |.!..!...|........|
|00001c80| 09 8a 74 ac 86 ca 0e 08 | cb 5c 22 88 cc 09 0e 08 |..t.....|.\".....|
|00001c90| 5c 22 89 16 06 ac 8b cd | 0e 08 21 88 ce cf 0e 09 |\"......|..!.....|
|00001ca0| 5c 22 88 d0 d1 d2 0e 09 | d3 d4 0e 15 5c 22 d6 25 |\"......|....\".%|
|00001cb0| 15 d7 d8 d9 da 0e 08 21 | 23 88 d7 d8 db dc 0e 08 |.......!|#.......|
|00001cc0| 21 23 88 dd de 0e 06 c7 | 5c 22 21 16 07 d7 d8 c7 |!#......|\"!.....|
|00001cd0| 0e 07 23 88 d7 d8 df e0 | 0e 07 e1 5c 22 23 88 d7 |..#.....|...\"#..|
|00001ce0| d8 e2 e3 e4 21 ad 88 0e | 24 ad 84 e5 0e 07 21 23 |....!...|$.....!#|
|00001cf0| 88 0e 08 71 88 e6 0e 09 | 0d 5c 22 2e 06 87 22 20 |...q....|.\"..." |
|00001d00| 5b 68 62 75 74 3a 6b 65 | 79 2d 74 6f 2d 6c 61 62 |[hbut:ke|y-to-lab|
|00001d10| 65 6c 20 6c 62 6c 2d 6b | 65 79 20 66 69 6e 64 2d |el lbl-k|ey find-|
|00001d20| 66 69 6c 65 2d 6e 6f 73 | 65 6c 65 63 74 20 67 62 |file-nos|elect gb|
|00001d30| 75 74 3a 66 69 6c 65 20 | 6e 69 6c 20 6e 65 77 2d |ut:file |nil new-|
|00001d40| 6c 62 6c 20 62 75 74 20 | 61 63 74 79 70 65 20 62 |lbl but |actype b|
|00001d50| 75 74 2d 62 75 66 20 6c | 62 6c 20 68 75 69 3a 62 |ut-buf l|bl hui:b|
|00001d60| 75 66 2d 77 72 69 74 61 | 62 6c 65 2d 65 72 72 20 |uf-writa|ble-err |
|00001d70| 22 67 62 75 74 2d 6d 6f | 64 69 66 79 22 20 65 62 |"gbut-mo|dify" eb|
|00001d80| 75 74 3a 67 65 74 20 70 | 6f 70 2d 74 6f 2d 62 75 |ut:get p|op-to-bu|
|00001d90| 66 66 65 72 20 68 79 70 | 62 3a 65 72 72 6f 72 20 |ffer hyp|b:error |
|00001da0| 22 28 67 62 75 74 2d 6d | 6f 64 69 66 79 29 3a 20 |"(gbut-m|odify): |
|00001db0| 49 6e 76 61 6c 69 64 20 | 62 75 74 74 6f 6e 2c 20 |Invalid |button, |
|00001dc0| 6e 6f 20 64 61 74 61 20 | 66 6f 72 20 27 25 73 27 |no data |for '%s'|
|00001dd0| 2e 22 20 68 61 72 67 73 | 3a 72 65 61 64 20 22 43 |." hargs|:read "C|
|00001de0| 68 61 6e 67 65 20 67 6c | 6f 62 61 6c 20 62 75 74 |hange gl|obal but|
|00001df0| 74 6f 6e 20 6c 61 62 65 | 6c 20 74 6f 3a 20 22 20 |ton labe|l to: " |
|00001e00| 23 5b 28 6c 62 6c 29 20 | 22 08 c1 98 3f ad 84 08 |#[(lbl) |"...?...|
|00001e10| 47 5c 6e 58 87 22 20 5b | 6c 62 6c 20 22 22 20 65 |G\nX." [|lbl "" e|
|00001e20| 62 75 74 3a 6d 61 78 2d | 6c 65 6e 5d 20 32 5d 20 |but:max-|len] 2] |
|00001e30| 66 6f 72 6d 61 74 20 22 | 28 67 62 75 74 2d 6d 6f |format "|(gbut-mo|
|00001e40| 64 69 66 79 29 3a 20 45 | 6e 74 65 72 20 61 20 73 |dify): E|nter a s|
|00001e50| 74 72 69 6e 67 20 6f 66 | 20 61 74 20 6d 6f 73 74 |tring of| at most|
|00001e60| 20 25 73 20 63 68 61 72 | 73 2e 22 20 65 62 75 74 | %s char|s." ebut|
|00001e70| 3a 6d 61 78 2d 6c 65 6e | 20 73 74 72 69 6e 67 20 |:max-len| string |
|00001e80| 68 61 74 74 72 3a 73 65 | 74 20 68 62 75 74 3a 63 |hattr:se|t hbut:c|
|00001e90| 75 72 72 65 6e 74 20 6c | 6f 63 20 68 75 69 3a 6b |urrent l|oc hui:k|
|00001ea0| 65 79 2d 73 72 63 20 64 | 69 72 20 68 75 69 3a 6b |ey-src d|ir hui:k|
|00001eb0| 65 79 2d 64 69 72 20 68 | 75 69 3a 61 63 74 79 70 |ey-dir h|ui:actyp|
|00001ec0| 65 20 68 61 74 74 72 3a | 67 65 74 20 61 72 67 73 |e hattr:|get args|
|00001ed0| 20 68 61 72 67 73 3a 61 | 63 74 79 70 65 2d 67 65 | hargs:a|ctype-ge|
|00001ee0| 74 20 6d 6f 64 69 66 79 | 69 6e 67 20 61 63 74 69 |t modify|ing acti|
|00001ef0| 6f 6e 20 62 6f 75 6e 64 | 70 20 68 75 69 3a 65 62 |on bound|p hui:eb|
|00001f00| 75 74 2d 70 72 6f 6d 70 | 74 2d 66 6f 72 2d 61 63 |ut-promp|t-for-ac|
|00001f10| 74 69 6f 6e 20 68 75 69 | 3a 61 63 74 69 6f 6e 20 |tion hui|:action |
|00001f20| 65 62 75 74 3a 6f 70 65 | 72 61 74 65 5d 20 37 20 |ebut:ope|rate] 7 |
|00001f30| 22 5c 0a 4d 6f 64 69 66 | 69 65 73 20 61 20 67 6c |"\.Modif|ies a gl|
|00001f40| 6f 62 61 6c 20 48 79 70 | 65 72 62 6f 6c 65 20 62 |obal Hyp|erbole b|
|00001f50| 75 74 74 6f 6e 20 67 69 | 76 65 6e 20 62 79 20 4c |utton gi|ven by L|
|00001f60| 42 4c 2d 4b 45 59 2e 0a | 53 69 67 6e 61 6c 73 20 |BL-KEY..|Signals |
|00001f70| 61 6e 20 65 72 72 6f 72 | 20 77 68 65 6e 20 6e 6f |an error| when no|
|00001f80| 20 73 75 63 68 20 62 75 | 74 74 6f 6e 20 69 73 20 | such bu|tton is |
|00001f90| 66 6f 75 6e 64 2e 22 20 | 28 62 79 74 65 2d 63 6f |found." |(byte-co|
|00001fa0| 64 65 20 22 8a c0 c1 5c | 6e 21 c3 5c 22 88 c4 c5 |de "...\|n!.\"...|
|00001fb0| c6 c7 c8 c9 20 5c 22 ca | cb ca cc 26 06 21 29 43 |.... \".|...&.!)C|
|00001fc0| 87 22 20 5b 68 75 69 3a | 62 75 66 2d 77 72 69 74 |." [hui:|buf-writ|
|00001fd0| 61 62 6c 65 2d 65 72 72 | 20 66 69 6e 64 2d 66 69 |able-err| find-fi|
|00001fe0| 6c 65 2d 6e 6f 73 65 6c | 65 63 74 20 67 62 75 74 |le-nosel|ect gbut|
|00001ff0| 3a 66 69 6c 65 20 22 67 | 62 75 74 2d 6d 6f 64 69 |:file "g|but-modi|
|00002000| 66 79 22 20 68 62 75 74 | 3a 6c 61 62 65 6c 2d 74 |fy" hbut|:label-t|
|00002010| 6f 2d 6b 65 79 20 68 61 | 72 67 73 3a 72 65 61 64 |o-key ha|rgs:read|
|00002020| 2d 6d 61 74 63 68 20 22 | 47 6c 6f 62 61 6c 20 62 |-match "|Global b|
|00002030| 75 74 74 6f 6e 20 74 6f | 20 6d 6f 64 69 66 79 3a |utton to| modify:|
|00002040| 20 22 20 6d 61 70 63 61 | 72 20 6c 69 73 74 20 67 | " mapca|r list g|
|00002050| 62 75 74 3a 6c 62 6c 2d | 6c 69 73 74 20 6e 69 6c |but:lbl-|list nil|
|00002060| 20 74 20 65 62 75 74 5d | 20 38 29 5d 29 0a 28 66 | t ebut]| 8)]).(f|
|00002070| 73 65 74 20 27 68 75 69 | 3a 68 62 75 74 2d 61 63 |set 'hui|:hbut-ac|
|00002080| 74 20 23 5b 28 26 6f 70 | 74 69 6f 6e 61 6c 20 62 |t #[(&op|tional b|
|00002090| 75 74 29 20 22 74 ab 87 | 08 ac 84 c1 c2 21 87 c3 |ut) "t..|.....!..|
|000020a0| 08 21 ac 84 c1 c4 21 87 | 08 ac 82 c5 10 c6 20 88 |.!....!.|...... .|
|000020b0| c7 08 21 87 22 20 5b 62 | 75 74 20 68 79 70 62 3a |..!." [b|ut hypb:|
|000020c0| 65 72 72 6f 72 20 22 28 | 68 62 75 74 2d 61 63 74 |error "(|hbut-act|
|000020d0| 29 3a 20 4e 6f 20 63 75 | 72 72 65 6e 74 20 62 75 |): No cu|rrent bu|
|000020e0| 74 74 6f 6e 20 74 6f 20 | 61 63 74 69 76 61 74 65 |tton to |activate|
|000020f0| 2e 22 20 68 62 75 74 3a | 69 73 2d 70 20 22 28 68 |." hbut:|is-p "(h|
|00002100| 62 75 74 2d 61 63 74 29 | 3a 20 42 75 74 74 6f 6e |but-act)|: Button|
|00002110| 20 69 73 20 69 6e 76 61 | 6c 69 64 3b 20 69 74 20 | is inva|lid; it |
|00002120| 68 61 73 20 6e 6f 20 61 | 74 74 72 69 62 75 74 65 |has no a|ttribute|
|00002130| 73 2e 22 20 68 62 75 74 | 3a 63 75 72 72 65 6e 74 |s." hbut|:current|
|00002140| 20 68 75 69 3a 62 75 74 | 2d 66 6c 61 73 68 20 68 | hui:but|-flash h|
|00002150| 79 70 65 72 62 3a 61 63 | 74 5d 20 32 20 22 5c 0a |yperb:ac|t] 2 "\.|
|00002160| 45 78 65 63 75 74 65 73 | 20 61 63 74 69 6f 6e 20 |Executes| action |
|00002170| 66 6f 72 20 6f 70 74 69 | 6f 6e 61 6c 20 48 79 70 |for opti|onal Hyp|
|00002180| 65 72 62 6f 6c 65 20 62 | 75 74 74 6f 6e 20 73 79 |erbole b|utton sy|
|00002190| 6d 62 6f 6c 20 42 55 54 | 20 69 6e 20 63 75 72 72 |mbol BUT| in curr|
|000021a0| 65 6e 74 20 62 75 66 66 | 65 72 2e 0a 44 65 66 61 |ent buff|er..Defa|
|000021b0| 75 6c 74 20 69 73 20 74 | 68 65 20 63 75 72 72 65 |ult is t|he curre|
|000021c0| 6e 74 20 62 75 74 74 6f | 6e 2e 22 20 28 62 79 74 |nt butto|n." (byt|
|000021d0| 65 2d 63 6f 64 65 20 22 | c0 20 c1 1a 89 1b ae 9a |e-code "|. ......|
|000021e0| c4 20 89 12 ab 91 c5 c6 | c7 c8 5c 6e c1 c9 ca cb |. ......|..\n....|
|000021f0| 21 cc 26 06 21 21 aa 83 | cd ce 21 2a 43 87 22 20 |!.&.!!..|..!*C." |
|00002200| 5b 68 62 75 74 3a 61 74 | 2d 70 20 6e 69 6c 20 6c |[hbut:at|-p nil l|
|00002210| 73 74 20 62 75 74 20 65 | 62 75 74 3a 61 6c 69 73 |st but e|but:alis|
|00002220| 74 20 65 62 75 74 3a 67 | 65 74 20 65 62 75 74 3a |t ebut:g|et ebut:|
|00002230| 6c 61 62 65 6c 2d 74 6f | 2d 6b 65 79 20 68 61 72 |label-to|-key har|
|00002240| 67 73 3a 72 65 61 64 2d | 6d 61 74 63 68 20 22 42 |gs:read-|match "B|
|00002250| 75 74 74 6f 6e 20 74 6f | 20 65 78 65 63 75 74 65 |utton to| execute|
|00002260| 3a 20 22 20 74 20 65 62 | 75 74 3a 6c 61 62 65 6c |: " t eb|ut:label|
|00002270| 2d 70 20 61 73 2d 6c 61 | 62 65 6c 20 65 62 75 74 |-p as-la|bel ebut|
|00002280| 20 68 79 70 62 3a 65 72 | 72 6f 72 20 22 28 68 62 | hypb:er|ror "(hb|
|00002290| 75 74 2d 61 63 74 29 3a | 20 4e 6f 20 65 78 70 6c |ut-act):| No expl|
|000022a0| 69 63 69 74 20 62 75 74 | 74 6f 6e 73 20 69 6e 20 |icit but|tons in |
|000022b0| 62 75 66 66 65 72 2e 22 | 5d 20 31 30 29 5d 29 0a |buffer."|] 10)]).|
|000022c0| 28 66 73 65 74 20 27 68 | 75 69 3a 68 62 75 74 2d |(fset 'h|ui:hbut-|
|000022d0| 68 65 6c 70 20 23 5b 28 | 26 6f 70 74 69 6f 6e 61 |help #[(|&optiona|
|000022e0| 6c 20 62 75 74 29 20 22 | 08 ae 92 c1 20 ae 8e c2 |l but) "|.... ...|
|000022f0| c3 c4 c5 c6 20 c7 c8 c7 | c9 26 06 21 21 89 10 ac |.... ...|.&.!!...|
|00002300| 84 ca cb 21 88 cc 08 21 | ac 8d 08 ab 86 ca cd 21 |...!...!|.......!|
|00002310| 88 aa 84 ca ce 21 88 cf | d0 d1 d2 08 d3 5c 22 5c |.....!..|.....\"\|
|00002320| 22 d4 50 21 1e 15 d6 d7 | 21 d8 9a ac 9b d2 08 d9 |".P!....|!.......|
|00002330| 5c 22 89 1e 19 ab 91 0e | 19 da 20 9a ac 87 0e 19 |\"......|.. .....|
|00002340| db 20 9a ab 83 d7 20 88 | 29 0e 15 ab 86 0e 15 08 |. .... .|).......|
|00002350| 21 aa 8b dc 08 21 89 1e | 1d ad 82 de 20 29 29 87 |!....!..|.... )).|
|00002360| 22 20 5b 62 75 74 20 68 | 62 75 74 3a 61 74 2d 70 |" [but h|but:at-p|
|00002370| 20 65 62 75 74 3a 67 65 | 74 20 65 62 75 74 3a 6c | ebut:ge|t ebut:l|
|00002380| 61 62 65 6c 2d 74 6f 2d | 6b 65 79 20 68 61 72 67 |abel-to-|key harg|
|00002390| 73 3a 72 65 61 64 2d 6d | 61 74 63 68 20 22 48 65 |s:read-m|atch "He|
|000023a0| 6c 70 20 66 6f 72 20 62 | 75 74 74 6f 6e 3a 20 22 |lp for b|utton: "|
|000023b0| 20 65 62 75 74 3a 61 6c | 69 73 74 20 6e 69 6c 20 | ebut:al|ist nil |
|000023c0| 74 20 65 62 75 74 20 68 | 79 70 62 3a 65 72 72 6f |t ebut h|ypb:erro|
|000023d0| 72 20 22 28 68 62 75 74 | 2d 68 65 6c 70 29 3a 20 |r "(hbut|-help): |
|000023e0| 20 4d 6f 76 65 20 70 6f | 69 6e 74 20 74 6f 20 61 | Move po|int to a|
|000023f0| 20 76 61 6c 69 64 20 48 | 79 70 65 72 62 6f 6c 65 | valid H|yperbole|
|00002400| 20 62 75 74 74 6f 6e 2e | 22 20 68 62 75 74 3a 69 | button.|" hbut:i|
|00002410| 73 2d 70 20 22 28 68 62 | 75 74 2d 68 65 6c 70 29 |s-p "(hb|ut-help)|
|00002420| 3a 20 49 6e 76 61 6c 69 | 64 20 62 75 74 74 6f 6e |: Invali|d button|
|00002430| 2e 22 20 22 28 68 62 75 | 74 2d 68 65 6c 70 29 3a |." "(hbu|t-help):|
|00002440| 20 4e 6f 74 20 6f 6e 20 | 61 6e 20 69 6d 70 6c 69 | Not on |an impli|
|00002450| 63 69 74 20 62 75 74 74 | 6f 6e 20 61 6e 64 20 6e |cit butt|on and n|
|00002460| 6f 20 62 75 66 66 65 72 | 20 65 78 70 6c 69 63 69 |o buffer| explici|
|00002470| 74 20 62 75 74 74 6f 6e | 73 2e 22 20 69 6e 74 65 |t button|s." inte|
|00002480| 72 6e 2d 73 6f 66 74 20 | 68 74 79 70 65 3a 6e 61 |rn-soft |htype:na|
|00002490| 6d 65 73 20 69 62 74 79 | 70 65 73 20 68 61 74 74 |mes ibty|pes hatt|
|000024a0| 72 3a 67 65 74 20 63 61 | 74 65 67 20 22 3a 68 65 |r:get ca|teg ":he|
|000024b0| 6c 70 22 20 74 79 70 65 | 2d 68 65 6c 70 2d 66 75 |lp" type|-help-fu|
|000024c0| 6e 63 20 68 79 70 62 3a | 69 6e 64 69 72 65 63 74 |nc hypb:|indirect|
|000024d0| 2d 66 75 6e 63 74 69 6f | 6e 20 68 75 69 3a 62 75 |-functio|n hui:bu|
|000024e0| 74 2d 66 6c 61 73 68 20 | 28 6c 61 6d 62 64 61 20 |t-flash |(lambda |
|000024f0| 6e 69 6c 29 20 6c 62 6c | 2d 6b 65 79 20 65 62 75 |nil) lbl|-key ebu|
|00002500| 74 3a 6c 61 62 65 6c 2d | 70 20 69 62 75 74 3a 6c |t:label-|p ibut:l|
|00002510| 61 62 65 6c 2d 70 20 68 | 62 75 74 3a 72 65 70 6f |abel-p h|but:repo|
|00002520| 72 74 20 74 6f 74 61 6c | 20 68 75 69 3a 68 65 6c |rt total| hui:hel|
|00002530| 70 2d 65 62 75 74 2d 68 | 69 67 68 6c 69 67 68 74 |p-ebut-h|ighlight|
|00002540| 5d 20 31 30 20 22 5c 0a | 43 68 65 63 6b 73 20 66 |] 10 "\.|Checks f|
|00002550| 6f 72 20 61 6e 64 20 65 | 78 70 6c 61 69 6e 73 20 |or and e|xplains |
|00002560| 61 6e 20 6f 70 74 69 6f | 6e 61 6c 20 62 75 74 74 |an optio|nal butt|
|00002570| 6f 6e 20 67 69 76 65 6e | 20 62 79 20 73 79 6d 62 |on given| by symb|
|00002580| 6f 6c 2c 20 42 55 54 2e | 0a 42 55 54 20 64 65 66 |ol, BUT.|.BUT def|
|00002590| 61 75 6c 74 73 20 74 6f | 20 74 68 65 20 62 75 74 |aults to| the but|
|000025a0| 74 6f 6e 20 77 68 6f 73 | 65 20 6c 61 62 65 6c 20 |ton whos|e label |
|000025b0| 70 6f 69 6e 74 20 69 73 | 20 77 69 74 68 69 6e 2e |point is| within.|
|000025c0| 22 20 6e 69 6c 5d 29 0a | 28 66 73 65 74 20 27 68 |" nil]).|(fset 'h|
|000025d0| 75 69 3a 68 62 75 74 2d | 6c 61 62 65 6c 20 23 5b |ui:hbut-|label #[|
|000025e0| 28 64 65 66 61 75 6c 74 | 2d 6c 61 62 65 6c 20 66 |(default|-label f|
|000025f0| 75 6e 63 2d 6e 61 6d 65 | 29 20 22 c0 c1 c2 0b c4 |unc-name|) ".....|
|00002600| c5 0e 06 0e 07 23 c8 25 | 87 22 20 5b 68 61 72 67 |.....#.%|." [harg|
|00002610| 73 3a 72 65 61 64 20 22 | 42 75 74 74 6f 6e 20 6c |s:read "|Button l|
|00002620| 61 62 65 6c 3a 20 22 20 | 23 5b 28 6c 62 6c 29 20 |abel: " |#[(lbl) |
|00002630| 22 08 c1 98 3f ad 84 08 | 47 5c 6e 58 87 22 20 5b |"...?...|G\nX." [|
|00002640| 6c 62 6c 20 22 22 20 65 | 62 75 74 3a 6d 61 78 2d |lbl "" e|but:max-|
|00002650| 6c 65 6e 5d 20 32 5d 20 | 64 65 66 61 75 6c 74 2d |len] 2] |default-|
|00002660| 6c 61 62 65 6c 20 66 6f | 72 6d 61 74 20 22 28 25 |label fo|rmat "(%|
|00002670| 73 29 3a 20 45 6e 74 65 | 72 20 61 20 73 74 72 69 |s): Ente|r a stri|
|00002680| 6e 67 20 6f 66 20 61 74 | 20 6d 6f 73 74 20 25 73 |ng of at| most %s|
|00002690| 20 63 68 61 72 73 2e 22 | 20 66 75 6e 63 2d 6e 61 | chars."| func-na|
|000026a0| 6d 65 20 65 62 75 74 3a | 6d 61 78 2d 6c 65 6e 20 |me ebut:|max-len |
|000026b0| 73 74 72 69 6e 67 5d 20 | 38 20 22 5c 0a 52 65 61 |string] |8 "\.Rea|
|000026c0| 64 73 20 62 75 74 74 6f | 6e 20 6c 61 62 65 6c 20 |ds butto|n label |
|000026d0| 66 72 6f 6d 20 75 73 65 | 72 20 75 73 69 6e 67 20 |from use|r using |
|000026e0| 44 45 46 41 55 4c 54 2d | 4c 41 42 45 4c 20 61 6e |DEFAULT-|LABEL an|
|000026f0| 64 20 63 61 6c 6c 65 72 | 27 73 20 46 55 4e 43 2d |d caller|'s FUNC-|
|00002700| 4e 41 4d 45 2e 22 5d 29 | 0a 28 66 73 65 74 20 27 |NAME."])|.(fset '|
|00002710| 68 75 69 3a 68 62 75 74 | 2d 6c 61 62 65 6c 2d 64 |hui:hbut|-label-d|
|00002720| 65 66 61 75 6c 74 20 23 | 5b 28 73 74 61 72 74 20 |efault #|[(start |
|00002730| 65 6e 64 20 26 6f 70 74 | 69 6f 6e 61 6c 20 73 6b |end &opt|ional sk|
|00002740| 69 70 2d 6c 65 6e 2d 74 | 65 73 74 29 20 22 c0 09 |ip-len-t|est) "..|
|00002750| 21 ab 84 c2 09 21 11 c0 | 0b 21 ab 84 c2 0b 21 13 |!....!..|.!....!.|
|00002760| 09 a8 ad 98 0b a8 ad 94 | 0c ac 8b 0b 09 5a 09 0b |........|.....Z..|
|00002770| 5a 5d 0d 58 ad 86 09 62 | 88 09 0b 7b 87 22 20 5b |Z].X...b|...{." [|
|00002780| 6d 61 72 6b 65 72 70 20 | 73 74 61 72 74 20 6d 61 |markerp |start ma|
|00002790| 72 6b 65 72 2d 70 6f 73 | 69 74 69 6f 6e 20 65 6e |rker-pos|ition en|
|000027a0| 64 20 73 6b 69 70 2d 6c | 65 6e 2d 74 65 73 74 20 |d skip-l|en-test |
|000027b0| 65 62 75 74 3a 6d 61 78 | 2d 6c 65 6e 5d 20 33 20 |ebut:max|-len] 3 |
|000027c0| 22 5c 0a 52 65 74 75 72 | 6e 73 20 64 65 66 61 75 |"\.Retur|ns defau|
|000027d0| 6c 74 20 6c 61 62 65 6c | 20 62 61 73 65 64 20 6f |lt label| based o|
|000027e0| 6e 20 53 54 41 52 54 20 | 61 6e 64 20 45 4e 44 20 |n START |and END |
|000027f0| 72 65 67 69 6f 6e 20 6d | 61 72 6b 65 72 73 20 6f |region m|arkers o|
|00002800| 72 20 70 6f 69 6e 74 73 | 2e 0a 4f 70 74 69 6f 6e |r points|..Option|
|00002810| 61 6c 20 53 4b 49 50 2d | 4c 45 4e 2d 54 45 53 54 |al SKIP-|LEN-TEST|
|00002820| 20 6d 65 61 6e 73 20 64 | 6f 6e 27 74 20 6c 69 6d | means d|on't lim|
|00002830| 69 74 20 6c 61 62 65 6c | 20 74 6f 20 27 65 62 75 |it label| to 'ebu|
|00002840| 74 3a 6d 61 78 2d 6c 65 | 6e 27 20 6c 65 6e 67 74 |t:max-le|n' lengt|
|00002850| 68 2e 0a 52 65 74 75 72 | 6e 73 20 6e 69 6c 20 69 |h..Retur|ns nil i|
|00002860| 66 20 53 54 41 52 54 20 | 6f 72 20 45 4e 44 20 61 |f START |or END a|
|00002870| 72 65 20 69 6e 76 61 6c | 69 64 20 6f 72 20 69 66 |re inval|id or if|
|00002880| 20 72 65 67 69 6f 6e 20 | 66 61 69 6c 73 20 6c 65 | region |fails le|
|00002890| 6e 67 74 68 20 74 65 73 | 74 2e 20 0a 0a 41 6c 73 |ngth tes|t. ..Als|
|000028a0| 6f 20 68 61 73 20 73 69 | 64 65 20 65 66 66 65 63 |o has si|de effec|
|000028b0| 74 20 6f 66 20 6d 6f 76 | 69 6e 67 20 70 6f 69 6e |t of mov|ing poin|
|000028c0| 74 20 74 6f 20 73 74 61 | 72 74 20 6f 66 20 64 65 |t to sta|rt of de|
|000028d0| 66 61 75 6c 74 20 6c 61 | 62 65 6c 2c 20 69 66 20 |fault la|bel, if |
|000028e0| 61 6e 79 2e 22 5d 29 0a | 28 66 73 65 74 20 27 68 |any."]).|(fset 'h|
|000028f0| 75 69 3a 68 62 75 74 2d | 72 65 70 6f 72 74 20 23 |ui:hbut-|report #|
|00002900| 5b 28 26 6f 70 74 69 6f | 6e 61 6c 20 61 72 67 29 |[(&optio|nal arg)|
|00002910| 20 22 08 ab 88 08 39 ab | 84 c1 08 21 87 c2 08 21 | "....9.|...!...!|
|00002920| 89 1b ad 90 c4 20 88 c5 | c6 0b 89 c7 55 ac 83 c8 |..... ..|....U...|
|00002930| aa 81 c9 23 29 87 22 20 | 5b 61 72 67 20 68 75 69 |...#)." |[arg hui|
|00002940| 3a 68 62 75 74 2d 68 65 | 6c 70 20 68 62 75 74 3a |:hbut-he|lp hbut:|
|00002950| 72 65 70 6f 72 74 20 74 | 6f 74 61 6c 20 68 75 69 |report t|otal hui|
|00002960| 3a 68 65 6c 70 2d 65 62 | 75 74 2d 68 69 67 68 6c |:help-eb|ut-highl|
|00002970| 69 67 68 74 20 6d 65 73 | 73 61 67 65 20 22 25 64 |ight mes|sage "%d|
|00002980| 20 62 75 74 74 6f 6e 25 | 73 2e 22 20 31 20 22 73 | button%|s." 1 "s|
|00002990| 22 20 22 22 5d 20 36 20 | 22 5c 0a 50 72 65 74 74 |" ""] 6 |"\.Prett|
|000029a0| 79 20 70 72 69 6e 74 73 | 20 61 74 74 72 69 62 75 |y prints| attribu|
|000029b0| 74 65 73 20 6f 66 20 63 | 75 72 72 65 6e 74 20 62 |tes of c|urrent b|
|000029c0| 75 74 74 6f 6e 2c 20 75 | 73 69 6e 67 20 6f 70 74 |utton, u|sing opt|
|000029d0| 69 6f 6e 61 6c 20 70 72 | 65 66 69 78 20 41 52 47 |ional pr|efix ARG|
|000029e0| 2e 0a 53 65 65 20 27 68 | 62 75 74 3a 72 65 70 6f |..See 'h|but:repo|
|000029f0| 72 74 27 2e 22 20 22 50 | 22 5d 29 0a 28 66 73 65 |rt'." "P|"]).(fse|
|00002a00| 74 20 27 68 75 69 3a 68 | 62 75 74 2d 73 75 6d 6d |t 'hui:h|but-summ|
|00002a10| 61 72 69 7a 65 20 27 68 | 75 69 3a 68 62 75 74 2d |arize 'h|ui:hbut-|
|00002a20| 72 65 70 6f 72 74 29 0a | 28 66 73 65 74 20 27 68 |report).|(fset 'h|
|00002a30| 75 69 3a 6c 69 6e 6b 2d | 64 69 72 65 63 74 6c 79 |ui:link-|directly|
|00002a40| 20 23 5b 6e 69 6c 20 22 | c0 20 19 5c 6e 1b 09 47 | #[nil "|. .\n..G|
|00002a50| 1c c5 20 1e 06 c7 1e 08 | c7 1e 09 c7 1e 5c 6e c7 |.. .....|.....\n.|
|00002a60| 1e 0b c7 1e 0c cd 5c 6e | 21 88 ce 70 cf 5c 22 88 |......\n|!..p.\".|
|00002a70| d0 20 ab 97 d1 16 08 d2 | d3 d4 5c 22 16 0b d2 d3 |. ......|..\"....|
|00002a80| d5 5c 22 16 0c d2 d3 ca | 5c 22 16 5c 6e aa 9e d6 |.\".....|\".\n...|
|00002a90| 70 21 16 0b d7 70 21 16 | 0c d8 d9 da db d1 21 21 |p!...p!.|......!!|
|00002aa0| ad 86 dc dd 20 de 20 5c | 22 cf 5c 22 21 16 5c 6e |.... . \|".\"!.\n|
|00002ab0| cd 0e 06 21 88 0c df 55 | ab 86 e0 e1 21 88 aa b8 |...!...U|....!...|
|00002ac0| 0c e2 55 ab 94 e3 0e 08 | 0b 0e 5c 6e 0e 0b 0e 0c |..U.....|..\n....|
|00002ad0| 09 40 89 16 09 26 06 88 | aa 9f c7 89 1e 24 1e 25 |.@...&..|.....$.%|
|00002ae0| e3 0e 08 0b 0e 5c 6e 0e | 0b 0e 0c e6 e7 e8 e9 09 |.....\n.|........|
|00002af0| 5c 22 42 21 89 16 09 26 | 06 88 2a ea eb ec 0e 5c |\"B!...&|..*....\|
|00002b00| 6e 21 0e 08 ab 83 ed aa | 81 ee 0e 09 40 24 2e 09 |n!......|....@$..|
|00002b10| 87 22 20 5b 68 75 69 3a | 6c 69 6e 6b 2d 70 6f 73 |." [hui:|link-pos|
|00002b20| 73 69 62 6c 65 2d 74 79 | 70 65 73 20 6c 69 6e 6b |sible-ty|pes link|
|00002b30| 2d 74 79 70 65 73 20 61 | 63 74 69 6f 6e 2d 6b 65 |-types a|ction-ke|
|00002b40| 79 2d 64 65 70 72 65 73 | 73 2d 77 69 6e 64 6f 77 |y-depres|s-window|
|00002b50| 20 62 75 74 2d 77 69 6e | 64 6f 77 20 6e 75 6d 2d | but-win|dow num-|
|00002b60| 74 79 70 65 73 20 73 65 | 6c 65 63 74 65 64 2d 77 |types se|lected-w|
|00002b70| 69 6e 64 6f 77 20 72 65 | 6c 65 61 73 65 2d 77 69 |indow re|lease-wi|
|00002b80| 6e 64 6f 77 20 6e 69 6c | 20 62 75 74 2d 6d 6f 64 |ndow nil| but-mod|
|00002b90| 69 66 79 20 74 79 70 65 | 2d 61 6e 64 2d 61 72 67 |ify type|-and-arg|
|00002ba0| 73 20 6c 62 6c 2d 6b 65 | 79 20 62 75 74 2d 6c 6f |s lbl-ke|y but-lo|
|00002bb0| 63 20 62 75 74 2d 64 69 | 72 20 73 65 6c 65 63 74 |c but-di|r select|
|00002bc0| 2d 77 69 6e 64 6f 77 20 | 68 75 69 3a 62 75 66 2d |-window |hui:buf-|
|00002bd0| 77 72 69 74 61 62 6c 65 | 2d 65 72 72 20 22 6c 69 |writable|-err "li|
|00002be0| 6e 6b 2d 64 69 72 65 63 | 74 6c 79 22 20 65 62 75 |nk-direc|tly" ebu|
|00002bf0| 74 3a 61 74 2d 70 20 74 | 20 68 61 74 74 72 3a 67 |t:at-p t| hattr:g|
|00002c00| 65 74 20 68 62 75 74 3a | 63 75 72 72 65 6e 74 20 |et hbut:|current |
|00002c10| 6c 6f 63 20 64 69 72 20 | 68 75 69 3a 6b 65 79 2d |loc dir |hui:key-|
|00002c20| 73 72 63 20 68 75 69 3a | 6b 65 79 2d 64 69 72 20 |src hui:|key-dir |
|00002c30| 68 62 75 74 3a 6c 61 62 | 65 6c 2d 74 6f 2d 6b 65 |hbut:lab|el-to-ke|
|00002c40| 79 20 68 75 69 3a 68 62 | 75 74 2d 6c 61 62 65 6c |y hui:hb|ut-label|
|00002c50| 20 6d 61 72 6b 65 72 2d | 70 6f 73 69 74 69 6f 6e | marker-|position|
|00002c60| 20 68 79 70 62 3a 6d 61 | 72 6b 2d 6d 61 72 6b 65 | hypb:ma|rk-marke|
|00002c70| 72 20 68 75 69 3a 68 62 | 75 74 2d 6c 61 62 65 6c |r hui:hb|ut-label|
|00002c80| 2d 64 65 66 61 75 6c 74 | 20 72 65 67 69 6f 6e 2d |-default| region-|
|00002c90| 62 65 67 69 6e 6e 69 6e | 67 20 72 65 67 69 6f 6e |beginnin|g region|
|00002ca0| 2d 65 6e 64 20 30 20 65 | 72 72 6f 72 20 22 28 6c |-end 0 e|rror "(l|
|00002cb0| 69 6e 6b 2d 64 69 72 65 | 63 74 6c 79 29 3a 20 4e |ink-dire|ctly): N|
|00002cc0| 6f 20 70 6f 73 73 69 62 | 6c 65 20 6c 69 6e 6b 20 |o possib|le link |
|00002cd0| 74 79 70 65 20 74 6f 20 | 63 72 65 61 74 65 2e 22 |type to |create."|
|00002ce0| 20 31 20 68 75 69 3a 6c | 69 6e 6b 2d 63 72 65 61 | 1 hui:l|ink-crea|
|00002cf0| 74 65 20 74 79 70 65 20 | 69 74 65 6d 20 68 75 69 |te type |item hui|
|00002d00| 3a 6d 65 6e 75 2d 73 65 | 6c 65 63 74 20 28 22 4c |:menu-se|lect ("L|
|00002d10| 69 6e 6b 20 74 6f 3e 22 | 29 20 6d 61 70 63 61 72 |ink to>"|) mapcar|
|00002d20| 20 23 5b 28 74 79 70 65 | 2d 61 6e 64 2d 61 72 67 | #[(type|-and-arg|
|00002d30| 73 29 20 22 08 40 11 c2 | c3 c4 c5 09 21 89 16 06 |s) ".@..|....!...|
|00002d40| 5c 22 ab 8b 0e 06 c7 95 | c8 4f 89 16 06 aa 82 0e |\"......|.O......|
|00002d50| 06 21 08 c9 ca cb c5 09 | 21 50 21 21 45 87 22 20 |.!......|!P!!E." |
|00002d60| 5b 74 79 70 65 2d 61 6e | 64 2d 61 72 67 73 20 74 |[type-an|d-args t|
|00002d70| 79 70 65 20 63 61 70 69 | 74 61 6c 69 7a 65 20 73 |ype capi|talize s|
|00002d80| 74 72 69 6e 67 2d 6d 61 | 74 63 68 20 22 5e 5c 5c |tring-ma|tch "^\\|
|00002d90| 28 6c 69 6e 6b 2d 74 6f | 5c 5c 7c 65 76 61 6c 5c |(link-to|\\|eval\|
|00002da0| 5c 29 2d 22 20 73 79 6d | 62 6f 6c 2d 6e 61 6d 65 |\)-" sym|bol-name|
|00002db0| 20 69 74 65 6d 20 30 20 | 6e 69 6c 20 64 6f 63 75 | item 0 |nil docu|
|00002dc0| 6d 65 6e 74 61 74 69 6f | 6e 20 69 6e 74 65 72 6e |mentatio|n intern|
|00002dd0| 20 22 61 63 74 79 70 65 | 73 3a 3a 22 5d 20 37 5d | "actype|s::"] 7]|
|00002de0| 20 6d 65 73 73 61 67 65 | 20 22 60 25 73 27 20 62 | message| "`%s' b|
|00002df0| 75 74 74 6f 6e 20 25 73 | 20 74 79 70 65 20 60 25 |utton %s| type `%|
|00002e00| 73 27 2e 22 20 68 62 75 | 74 3a 6b 65 79 2d 74 6f |s'." hbu|t:key-to|
|00002e10| 2d 6c 61 62 65 6c 20 22 | 73 65 74 20 74 6f 22 20 |-label "|set to" |
|00002e20| 22 63 72 65 61 74 65 64 | 20 77 69 74 68 22 5d 20 |"created| with"] |
|00002e30| 31 31 20 22 5c 0a 43 72 | 65 61 74 65 73 20 61 20 |11 "\.Cr|eates a |
|00002e40| 48 79 70 65 72 62 6f 6c | 65 20 6c 69 6e 6b 20 62 |Hyperbol|e link b|
|00002e50| 75 74 74 6f 6e 20 61 74 | 20 64 65 70 72 65 73 73 |utton at| depress|
|00002e60| 20 70 6f 69 6e 74 2c 20 | 6c 69 6e 6b 65 64 20 74 | point, |linked t|
|00002e70| 6f 20 72 65 6c 65 61 73 | 65 20 70 6f 69 6e 74 2e |o releas|e point.|
|00002e80| 0a 53 65 65 20 61 6c 73 | 6f 20 64 6f 63 75 6d 65 |.See als|o docume|
|00002e90| 6e 74 61 74 69 6f 6e 20 | 66 6f 72 20 27 68 75 69 |ntation |for 'hui|
|00002ea0| 3a 6c 69 6e 6b 2d 70 6f | 73 73 69 62 6c 65 2d 74 |:link-po|ssible-t|
|00002eb0| 79 70 65 73 27 2e 22 5d | 29 0a 28 66 73 65 74 20 |ypes'."]|).(fset |
|00002ec0| 27 68 75 69 3a 61 63 74 | 69 6f 6e 20 23 5b 28 61 |'hui:act|ion #[(a|
|00002ed0| 63 74 79 70 65 20 26 6f | 70 74 69 6f 6e 61 6c 20 |ctype &o|ptional |
|00002ee0| 70 72 6f 6d 70 74 29 20 | 22 08 85 99 00 c1 1a c1 |prompt) |".......|
|00002ef0| 1b c4 08 21 89 1d ad 85 | c6 c7 0d 21 50 1e 08 c9 |...!....|...!P...|
|00002f00| 0e 5c 6e ae 85 cb 0e 08 | cc 51 c1 89 89 cd 25 89 |.\n.....|.Q....%.|
|00002f10| 13 ab 8b 0b ce 98 ac 86 | c1 cf d0 8f ac 62 5c 6e |........|.....b\n|
|00002f20| 39 ac 98 0d ab 95 d1 d2 | d3 0d 5c 22 3e ac 8d d4 |9.......|..\">...|
|00002f30| 20 88 d5 d6 21 88 d7 d8 | 21 88 aa 46 c1 1e 19 5c | ...!...|!..F...\|
|00002f40| 6e 3c ab a3 5c 6e ab bc | 5c 6e 40 89 16 19 ab b5 |n<..\n..|\n@.....|
|00002f50| 0e 19 da 3d ac af 0e 19 | db 3d ac a9 0e 19 dc 3d |...=....|.=.....=|
|00002f60| ac a3 da 0d 5c 6e 45 12 | aa 9c 5c 6e 39 ab 87 5c |....\nE.|..\n9..\|
|00002f70| 6e 0d 42 89 12 aa 8f 5c | 6e 3b ab 88 dd 5c 6e de |n.B....\|n;...\n.|
|00002f80| 5c 22 89 12 aa 83 c1 89 | 12 ac 3d 29 5c 6e 2c 87 |\"......|..=)\n,.|
|00002f90| 22 20 5b 61 63 74 79 70 | 65 20 6e 69 6c 20 61 63 |" [actyp|e nil ac|
|00002fa0| 74 20 61 63 74 2d 73 74 | 72 20 61 63 74 79 70 65 |t act-st|r actype|
|00002fb0| 3a 70 61 72 61 6d 73 20 | 70 61 72 61 6d 73 20 22 |:params |params "|
|00002fc0| 20 22 20 70 72 69 6e 31 | 2d 74 6f 2d 73 74 72 69 | " prin1|-to-stri|
|00002fd0| 6e 67 20 70 61 72 61 6d | 73 2d 73 74 72 20 68 61 |ng param|s-str ha|
|00002fe0| 72 67 73 3a 72 65 61 64 | 20 70 72 6f 6d 70 74 20 |rgs:read| prompt |
|00002ff0| 22 41 63 74 69 6f 6e 22 | 20 22 3a 20 22 20 73 74 |"Action"| ": " st|
|00003000| 72 69 6e 67 20 22 22 20 | 28 62 79 74 65 2d 63 6f |ring "" |(byte-co|
|00003010| 64 65 20 22 c0 09 21 12 | c3 87 22 20 5b 72 65 61 |de "..!.|.." [rea|
|00003020| 64 20 61 63 74 2d 73 74 | 72 20 61 63 74 20 6e 69 |d act-st|r act ni|
|00003030| 6c 5d 20 32 29 20 28 28 | 65 72 72 6f 72 20 28 62 |l] 2) ((|error (b|
|00003040| 79 74 65 2d 63 6f 64 65 | 20 22 c0 20 88 c1 c2 21 |yte-code| ". ...!|
|00003050| 88 c3 c4 21 88 c5 87 22 | 20 5b 62 65 65 70 20 6d |...!..."| [beep m|
|00003060| 65 73 73 61 67 65 20 22 | 49 6e 76 61 6c 69 64 20 |essage "|Invalid |
|00003070| 61 63 74 69 6f 6e 20 73 | 79 6e 74 61 78 2e 22 20 |action s|yntax." |
|00003080| 73 69 74 2d 66 6f 72 20 | 33 20 74 5d 20 32 29 29 |sit-for |3 t] 2))|
|00003090| 29 20 74 20 6d 61 70 63 | 61 72 20 23 5b 28 70 61 |) t mapc|ar #[(pa|
|000030a0| 72 61 6d 29 20 22 c0 09 | 21 11 c2 c3 c4 09 21 c5 |ram) "..|!.....!.|
|000030b0| 51 0e 06 5c 22 ad 81 c7 | 87 22 20 5b 73 79 6d 62 |Q..\"...|." [symb|
|000030c0| 6f 6c 2d 6e 61 6d 65 20 | 70 61 72 61 6d 20 73 74 |ol-name |param st|
|000030d0| 72 69 6e 67 2d 6d 61 74 | 63 68 20 22 5b 28 20 09 |ring-mat|ch "[( .|
|000030e0| 5c 6e 2c 27 5d 22 20 72 | 65 67 65 78 70 2d 71 75 |\n,']" r|egexp-qu|
|000030f0| 6f 74 65 20 22 5b 28 29 | 20 09 5c 6e 5c 22 5d 22 |ote "[()| .\n\"]"|
|00003100| 20 61 63 74 2d 73 74 72 | 20 74 5d 20 34 5d 20 62 | act-str| t] 4] b|
|00003110| 65 65 70 20 6d 65 73 73 | 61 67 65 20 22 41 63 74 |eep mess|age "Act|
|00003120| 69 6f 6e 20 6d 75 73 74 | 20 75 73 65 20 61 74 20 |ion must| use at |
|00003130| 6c 65 61 73 74 20 6f 6e | 65 20 70 61 72 61 6d 65 |least on|e parame|
|00003140| 74 65 72 2e 22 20 73 69 | 74 2d 66 6f 72 20 33 20 |ter." si|t-for 3 |
|00003150| 68 65 61 64 20 6c 61 6d | 62 64 61 20 64 65 66 75 |head lam|bda defu|
|00003160| 6e 20 64 65 66 6d 61 63 | 72 6f 20 61 63 74 69 6f |n defmac|ro actio|
|00003170| 6e 3a 6b 62 64 2d 6d 61 | 63 72 6f 20 31 5d 20 37 |n:kbd-ma|cro 1] 7|
|00003180| 20 22 5c 0a 50 72 6f 6d | 70 74 73 20 66 6f 72 20 | "\.Prom|pts for |
|00003190| 61 6e 64 20 72 65 74 75 | 72 6e 73 20 61 6e 20 61 |and retu|rns an a|
|000031a0| 63 74 69 6f 6e 20 74 6f | 20 6f 76 65 72 72 69 64 |ction to| overrid|
|000031b0| 65 20 61 63 74 69 6f 6e | 20 66 72 6f 6d 20 41 43 |e action| from AC|
|000031c0| 54 59 50 45 2e 22 5d 29 | 0a 28 66 73 65 74 20 27 |TYPE."])|.(fset '|
|000031d0| 68 75 69 3a 61 63 74 79 | 70 65 20 23 5b 28 26 6f |hui:acty|pe #[(&o|
|000031e0| 70 74 69 6f 6e 61 6c 20 | 64 65 66 61 75 6c 74 2d |ptional |default-|
|000031f0| 61 63 74 79 70 65 20 70 | 72 6f 6d 70 74 29 20 22 |actype p|rompt) "|
|00003200| 08 ab 94 08 39 ab 90 c1 | 08 21 10 c2 c3 08 5c 22 |....9...|.!....\"|
|00003210| ab 86 08 c4 95 c5 4f 10 | 08 ab 84 08 3b ab 97 c6 |......O.|....;...|
|00003220| c3 c7 0e 08 ae 81 c9 ca | cb cc cd 21 5c 22 c5 ce |........|...!\"..|
|00003230| 08 cf 26 06 50 21 87 d0 | d1 21 87 22 20 5b 64 65 |..&.P!..|.!." [de|
|00003240| 66 61 75 6c 74 2d 61 63 | 74 79 70 65 20 73 79 6d |fault-ac|type sym|
|00003250| 62 6f 6c 2d 6e 61 6d 65 | 20 73 74 72 69 6e 67 2d |bol-name| string-|
|00003260| 6d 61 74 63 68 20 22 61 | 63 74 79 70 65 73 3a 3a |match "a|ctypes::|
|00003270| 22 20 30 20 6e 69 6c 20 | 69 6e 74 65 72 6e 2d 73 |" 0 nil |intern-s|
|00003280| 6f 66 74 20 68 61 72 67 | 73 3a 72 65 61 64 2d 6d |oft harg|s:read-m|
|00003290| 61 74 63 68 20 70 72 6f | 6d 70 74 20 22 42 75 74 |atch pro|mpt "But|
|000032a0| 74 6f 6e 27 73 20 61 63 | 74 69 6f 6e 20 74 79 70 |ton's ac|tion typ|
|000032b0| 65 3a 20 22 20 6d 61 70 | 63 61 72 20 6c 69 73 74 |e: " map|car list|
|000032c0| 20 68 74 79 70 65 3a 6e | 61 6d 65 73 20 61 63 74 | htype:n|ames act|
|000032d0| 79 70 65 73 20 74 20 61 | 63 74 79 70 65 20 68 79 |ypes t a|ctype hy|
|000032e0| 70 62 3a 65 72 72 6f 72 | 20 22 28 61 63 74 79 70 |pb:error| "(actyp|
|000032f0| 65 29 3a 20 49 6e 76 61 | 6c 69 64 20 64 65 66 61 |e): Inva|lid defa|
|00003300| 75 6c 74 20 61 63 74 69 | 6f 6e 20 74 79 70 65 20 |ult acti|on type |
|00003310| 72 65 63 65 69 76 65 64 | 2e 22 5d 20 39 20 22 5c |received|."] 9 "\|
|00003320| 0a 55 73 69 6e 67 20 6f | 70 74 69 6f 6e 61 6c 20 |.Using o|ptional |
|00003330| 44 45 46 41 55 4c 54 2d | 41 43 54 59 50 45 2c 20 |DEFAULT-|ACTYPE, |
|00003340| 50 52 4f 4d 50 54 73 20 | 66 6f 72 20 61 20 62 75 |PROMPTs |for a bu|
|00003350| 74 74 6f 6e 20 61 63 74 | 69 6f 6e 20 74 79 70 65 |tton act|ion type|
|00003360| 2e 0a 44 45 46 41 55 4c | 54 2d 41 43 54 59 50 45 |..DEFAUL|T-ACTYPE|
|00003370| 20 6d 61 79 20 62 65 20 | 61 20 76 61 6c 69 64 20 | may be |a valid |
|00003380| 73 79 6d 62 6f 6c 20 6f | 72 20 73 79 6d 62 6f 6c |symbol o|r symbol|
|00003390| 2d 6e 61 6d 65 2e 22 5d | 29 0a 28 66 73 65 74 20 |-name."]|).(fset |
|000033a0| 27 68 75 69 3a 62 75 66 | 2d 77 72 69 74 61 62 6c |'hui:buf|-writabl|
|000033b0| 65 2d 65 72 72 20 23 5b | 28 62 75 74 2d 62 75 66 |e-err #[|(but-buf|
|000033c0| 20 66 75 6e 63 2d 6e 61 | 6d 65 29 20 22 70 08 71 | func-na|me) "p.q|
|000033d0| 88 c1 1a 1b 0c ab 92 c5 | c6 c7 08 21 c8 c9 ca 21 |........|...!...!|
|000033e0| ab 83 ca aa 81 cb 21 23 | 12 0b 71 88 5c 6e ad 87 |......!#|..q.\n..|
|000033f0| cc 08 21 88 cd 5c 6e 21 | 2a 87 22 20 5b 62 75 74 |..!..\n!|*." [but|
|00003400| 2d 62 75 66 20 6e 69 6c | 20 65 72 72 20 6f 62 75 |-buf nil| err obu|
|00003410| 66 20 62 75 66 66 65 72 | 2d 72 65 61 64 2d 6f 6e |f buffer|-read-on|
|00003420| 6c 79 20 66 6f 72 6d 61 | 74 20 22 42 75 74 74 6f |ly forma|t "Butto|
|00003430| 6e 20 62 75 66 66 65 72 | 20 27 25 73 27 20 69 73 |n buffer| '%s' is|
|00003440| 20 72 65 61 64 2d 6f 6e | 6c 79 2e 20 20 55 73 65 | read-on|ly. Use|
|00003450| 20 25 73 20 74 6f 20 63 | 68 61 6e 67 65 20 69 74 | %s to c|hange it|
|00003460| 2e 22 20 62 75 66 66 65 | 72 2d 6e 61 6d 65 20 68 |." buffe|r-name h|
|00003470| 79 70 62 3a 63 6d 64 2d | 6b 65 79 2d 73 74 72 69 |ypb:cmd-|key-stri|
|00003480| 6e 67 20 77 68 65 72 65 | 2d 69 73 2d 69 6e 74 65 |ng where|-is-inte|
|00003490| 72 6e 61 6c 20 76 63 2d | 74 6f 67 67 6c 65 2d 72 |rnal vc-|toggle-r|
|000034a0| 65 61 64 2d 6f 6e 6c 79 | 20 74 6f 67 67 6c 65 2d |ead-only| toggle-|
|000034b0| 72 65 61 64 2d 6f 6e 6c | 79 20 70 6f 70 2d 74 6f |read-onl|y pop-to|
|000034c0| 2d 62 75 66 66 65 72 20 | 68 79 70 62 3a 65 72 72 |-buffer |hypb:err|
|000034d0| 6f 72 5d 20 36 20 22 5c | 0a 49 66 20 42 55 54 2d |or] 6 "\|.If BUT-|
|000034e0| 42 55 46 20 69 73 20 72 | 65 61 64 2d 6f 6e 6c 79 |BUF is r|ead-only|
|000034f0| 20 6f 72 20 69 73 20 75 | 6e 77 72 69 74 61 62 6c | or is u|nwritabl|
|00003500| 65 2c 20 73 69 67 6e 61 | 6c 20 61 6e 20 65 72 72 |e, signa|l an err|
|00003510| 6f 72 20 66 72 6f 6d 20 | 46 55 4e 43 2d 4e 41 4d |or from |FUNC-NAM|
|00003520| 45 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 68 75 69 |E."]).(f|set 'hui|
|00003530| 3a 65 62 75 74 2d 62 75 | 66 20 23 5b 28 26 6f 70 |:ebut-bu|f #[(&op|
|00003540| 74 69 6f 6e 61 6c 20 70 | 72 6f 6d 70 74 29 20 22 |tional p|rompt) "|
|00003550| c0 19 c2 0b ae 81 c4 c5 | c0 c6 c7 c8 20 5c 22 5c |........|.... \"\|
|00003560| 22 c0 c9 ca 20 cb 26 06 | 89 11 ab 85 09 cc 9a ab |"... .&.|........|
|00003570| 85 cd 20 88 aa 5e ce 09 | 21 29 87 22 20 5b 6e 69 |.. ..^..|!)." [ni|
|00003580| 6c 20 62 75 66 2d 6e 61 | 6d 65 20 68 61 72 67 73 |l buf-na|me hargs|
|00003590| 3a 72 65 61 64 2d 6d 61 | 74 63 68 20 70 72 6f 6d |:read-ma|tch prom|
|000035a0| 70 74 20 22 42 75 74 74 | 6f 6e 27 73 20 62 75 66 |pt "Butt|on's buf|
|000035b0| 66 65 72 3a 20 22 20 64 | 65 6c 71 20 6d 61 70 63 |fer: " d|elq mapc|
|000035c0| 61 72 20 23 5b 28 62 75 | 66 29 20 22 c0 09 21 1a |ar #[(bu|f) "..!.|
|000035d0| c3 c4 5c 6e 5c 22 3f ad | 8b c3 c5 5c 6e 5c 22 3f |..\n\"?.|...\n\"?|
|000035e0| ad 84 c3 c6 5c 6e 5c 22 | 3f ad 83 5c 6e c7 42 29 |....\n\"|?..\n.B)|
|000035f0| 87 22 20 5b 62 75 66 66 | 65 72 2d 6e 61 6d 65 20 |." [buff|er-name |
|00003600| 62 75 66 20 62 20 73 74 | 72 69 6e 67 2d 6d 61 74 |buf b st|ring-mat|
|00003610| 63 68 20 22 6d 61 69 6c | 5c 5c 2a 22 20 22 5c 5c |ch "mail|\\*" "\\|
|00003620| 2a 70 6f 73 74 2d 6e 65 | 77 73 5c 5c 2a 22 20 22 |*post-ne|ws\\*" "|
|00003630| 5c 5c 60 5b 2a 20 5d 22 | 20 6e 69 6c 5d 20 33 5d |\\`[* ]"| nil] 3]|
|00003640| 20 62 75 66 66 65 72 2d | 6c 69 73 74 20 74 20 62 | buffer-|list t b|
|00003650| 75 66 66 65 72 2d 6e 61 | 6d 65 20 62 75 66 66 65 |uffer-na|me buffe|
|00003660| 72 20 22 22 20 62 65 65 | 70 20 67 65 74 2d 62 75 |r "" bee|p get-bu|
|00003670| 66 66 65 72 5d 20 38 20 | 22 5c 0a 50 72 6f 6d 70 |ffer] 8 |"\.Promp|
|00003680| 74 20 66 6f 72 20 61 6e | 64 20 72 65 74 75 72 6e |t for an|d return|
|00003690| 20 61 20 62 75 66 66 65 | 72 20 69 6e 20 77 68 69 | a buffe|r in whi|
|000036a0| 63 68 20 74 6f 20 70 6c | 61 63 65 20 61 20 62 75 |ch to pl|ace a bu|
|000036b0| 74 74 6f 6e 2e 22 5d 29 | 0a 28 66 73 65 74 20 27 |tton."])|.(fset '|
|000036c0| 68 75 69 3a 65 62 75 74 | 2d 64 65 6c 65 74 65 2d |hui:ebut|-delete-|
|000036d0| 6f 70 20 23 5b 28 69 6e | 74 65 72 61 63 74 69 76 |op #[(in|teractiv|
|000036e0| 65 20 62 75 74 2d 6b 65 | 79 20 6b 65 79 2d 73 72 |e but-ke|y key-sr|
|000036f0| 63 29 20 22 70 c0 19 1a | 0b ab 84 c4 20 aa bd 0d |c) "p...|.... ...|
|00003700| ab 8a c6 0d 21 ab 8d 0d | 89 12 ab 88 c7 0e 08 0d |....!...|........|
|00003710| 5c 22 11 aa 98 0d 3b ab | 8f c9 0d 21 89 12 ab 88 |\"....;.|...!....|
|00003720| c7 0e 08 5c 6e 5c 22 11 | aa 85 ca cb 0d 5c 22 88 |...\n\".|.....\".|
|00003730| 09 ab 85 c4 09 21 aa 88 | ca cc cd 0e 08 21 5c 6e |.....!..|.....!\n|
|00003740| 23 ab 9e 5c 6e 71 88 0b | ab 8a ce cf 21 88 d0 d1 |#..\nq..|....!...|
|00003750| 21 88 aa 86 cf 0e 08 0d | 5c 22 88 d2 20 ad 87 d3 |!.......|\".. ...|
|00003760| 20 aa 83 ca d4 21 2a 87 | 22 20 5b 6e 69 6c 20 65 | ....!*.|" [nil e|
|00003770| 62 75 74 20 62 75 66 20 | 69 6e 74 65 72 61 63 74 |but buf |interact|
|00003780| 69 76 65 20 65 62 75 74 | 3a 64 65 6c 65 74 65 20 |ive ebut|:delete |
|00003790| 6b 65 79 2d 73 72 63 20 | 62 75 66 66 65 72 70 20 |key-src |bufferp |
|000037a0| 65 62 75 74 3a 67 65 74 | 20 62 75 74 2d 6b 65 79 |ebut:get| but-key|
|000037b0| 20 66 69 6e 64 2d 66 69 | 6c 65 2d 6e 6f 73 65 6c | find-fi|le-nosel|
|000037c0| 65 63 74 20 68 79 70 62 | 3a 65 72 72 6f 72 20 22 |ect hypb|:error "|
|000037d0| 28 65 62 75 74 2d 64 65 | 6c 65 74 65 29 3a 20 49 |(ebut-de|lete): I|
|000037e0| 6e 76 61 6c 69 64 20 6b | 65 79 2d 73 72 63 3a 20 |nvalid k|ey-src: |
|000037f0| 27 25 73 27 2e 22 20 22 | 28 65 62 75 74 2d 64 65 |'%s'." "|(ebut-de|
|00003800| 6c 65 74 65 29 3a 20 4e | 6f 20 76 61 6c 69 64 20 |lete): N|o valid |
|00003810| 25 73 20 62 75 74 74 6f | 6e 20 69 6e 20 25 73 2e |%s butto|n in %s.|
|00003820| 22 20 65 62 75 74 3a 6b | 65 79 2d 74 6f 2d 6c 61 |" ebut:k|ey-to-la|
|00003830| 62 65 6c 20 63 61 6c 6c | 2d 69 6e 74 65 72 61 63 |bel call|-interac|
|00003840| 74 69 76 65 6c 79 20 68 | 75 69 3a 65 62 75 74 2d |tively h|ui:ebut-|
|00003850| 75 6e 6d 61 72 6b 20 6d | 65 73 73 61 67 65 20 22 |unmark m|essage "|
|00003860| 42 75 74 74 6f 6e 20 64 | 65 6c 65 74 65 64 2e 22 |Button d|eleted."|
|00003870| 20 68 6d 61 69 6c 3a 72 | 65 61 64 65 72 2d 70 20 | hmail:r|eader-p |
|00003880| 68 6d 61 69 6c 3a 6d 73 | 67 2d 6e 61 72 72 6f 77 |hmail:ms|g-narrow|
|00003890| 20 22 28 65 62 75 74 2d | 64 65 6c 65 74 65 29 3a | "(ebut-|delete):|
|000038a0| 20 59 6f 75 20 6d 61 79 | 20 6e 6f 74 20 64 65 6c | You may| not del|
|000038b0| 65 74 65 20 62 75 74 74 | 6f 6e 73 20 66 72 6f 6d |ete butt|ons from|
|000038c0| 20 74 68 69 73 20 62 75 | 66 66 65 72 2e 22 5d 20 | this bu|ffer."] |
|000038d0| 34 20 22 5c 0a 49 4e 54 | 45 52 41 43 54 49 56 45 |4 "\.INT|ERACTIVE|
|000038e0| 6c 79 20 6f 72 20 6e 6f | 74 20 64 65 6c 65 74 65 |ly or no|t delete|
|000038f0| 73 20 65 78 70 6c 69 63 | 69 74 20 48 79 70 65 72 |s explic|it Hyper|
|00003900| 62 6f 6c 65 20 62 75 74 | 74 6f 6e 20 67 69 76 65 |bole but|ton give|
|00003910| 6e 20 62 79 20 42 55 54 | 2d 4b 45 59 20 69 6e 20 |n by BUT|-KEY in |
|00003920| 4b 45 59 2d 53 52 43 2e | 0a 4b 45 59 2d 53 52 43 |KEY-SRC.|.KEY-SRC|
|00003930| 20 6d 61 79 20 62 65 20 | 61 20 62 75 66 66 65 72 | may be |a buffer|
|00003940| 20 6f 72 20 61 20 70 61 | 74 68 6e 61 6d 65 2c 20 | or a pa|thname, |
|00003950| 77 68 65 6e 20 6e 69 6c | 20 74 68 65 20 63 75 72 |when nil| the cur|
|00003960| 72 65 6e 74 20 62 75 66 | 66 65 72 20 69 73 20 75 |rent buf|fer is u|
|00003970| 73 65 64 2e 0a 52 65 74 | 75 72 6e 73 20 74 20 69 |sed..Ret|urns t i|
|00003980| 66 20 62 75 74 74 6f 6e | 20 69 73 20 64 65 6c 65 |f button| is dele|
|00003990| 74 65 64 2c 20 73 69 67 | 6e 61 6c 73 20 65 72 72 |ted, sig|nals err|
|000039a0| 6f 72 20 6f 74 68 65 72 | 77 69 73 65 2e 20 20 49 |or other|wise. I|
|000039b0| 66 20 63 61 6c 6c 65 64 | 0a 77 69 74 68 20 49 4e |f called|.with IN|
|000039c0| 54 45 52 41 43 54 49 56 | 45 20 6e 6f 6e 2d 6e 69 |TERACTIV|E non-ni|
|000039d0| 6c 2c 20 64 65 72 69 76 | 65 73 20 42 55 54 2d 4b |l, deriv|es BUT-K|
|000039e0| 45 59 20 66 72 6f 6d 20 | 74 68 65 20 62 75 74 74 |EY from |the butt|
|000039f0| 6f 6e 20 74 68 61 74 20 | 70 6f 69 6e 74 20 69 73 |on that |point is|
|00003a00| 0a 77 69 74 68 69 6e 2e | 22 5d 29 0a 28 62 79 74 |.within.|"]).(byt|
|00003a10| 65 2d 63 6f 64 65 20 22 | c0 c1 4d 88 c2 c3 4d 87 |e-code "|..M...M.|
|00003a20| 22 20 5b 68 75 69 3a 65 | 62 75 74 2d 64 65 6c 69 |" [hui:e|but-deli|
|00003a30| 6d 69 74 20 23 5b 28 73 | 74 61 72 74 20 65 6e 64 |mit #[(s|tart end|
|00003a40| 20 69 6e 73 74 61 6e 63 | 65 2d 73 74 72 29 20 22 | instanc|e-str) "|
|00003a50| c0 c1 21 87 22 20 5b 68 | 79 70 62 3a 65 72 72 6f |..!." [h|ypb:erro|
|00003a60| 72 20 22 28 68 75 69 3a | 65 62 75 74 2d 64 65 6c |r "(hui:|ebut-del|
|00003a70| 69 6d 69 74 29 3a 20 4f | 62 73 6f 6c 65 74 65 2c |imit): O|bsolete,|
|00003a80| 20 75 73 65 20 65 62 75 | 74 3a 64 65 6c 69 6d 69 | use ebu|t:delimi|
|00003a90| 74 20 69 6e 73 74 65 61 | 64 2e 22 5d 20 32 5d 20 |t instea|d."] 2] |
|00003aa0| 68 75 69 3a 65 62 75 74 | 2d 6f 70 65 72 61 74 65 |hui:ebut|-operate|
|00003ab0| 20 23 5b 28 63 75 72 72 | 2d 6c 61 62 65 6c 20 6e | #[(curr|-label n|
|00003ac0| 65 77 2d 6c 61 62 65 6c | 29 20 22 c0 c1 21 87 22 |ew-label|) "..!."|
|00003ad0| 20 5b 68 79 70 62 3a 65 | 72 72 6f 72 20 22 28 68 | [hypb:e|rror "(h|
|00003ae0| 75 69 3a 65 62 75 74 2d | 6f 70 65 72 61 74 65 29 |ui:ebut-|operate)|
|00003af0| 3a 20 4f 62 73 6f 6c 65 | 74 65 2c 20 75 73 65 20 |: Obsole|te, use |
|00003b00| 65 62 75 74 3a 6f 70 65 | 72 61 74 65 20 69 6e 73 |ebut:ope|rate ins|
|00003b10| 74 65 61 64 2e 22 5d 20 | 32 5d 5d 20 32 29 0a 28 |tead."] |2]] 2).(|
|00003b20| 66 73 65 74 20 27 68 75 | 69 3a 65 62 75 74 2d 75 |fset 'hu|i:ebut-u|
|00003b30| 6e 6d 61 72 6b 20 23 5b | 28 26 6f 70 74 69 6f 6e |nmark #[|(&option|
|00003b40| 61 6c 20 62 75 74 2d 6b | 65 79 20 6b 65 79 2d 73 |al but-k|ey key-s|
|00003b50| 72 63 20 64 69 72 65 63 | 74 6f 72 79 29 20 22 c0 |rc direc|tory) ".|
|00003b60| 19 74 ab 8d 8a c2 0b c4 | c5 23 ad 82 09 20 29 aa |.t......|.#... ).|
|00003b70| c0 c4 1e 06 0e 07 ab 87 | 0e 07 0e 08 3d ab 90 0e |........|....=...|
|00003b80| 09 ab 87 0e 09 0e 5c 6e | 3d ab 85 c5 16 06 aa 8a |......\n|=.......|
|00003b90| cb cc 0e 07 0e 09 5c 22 | 21 71 88 8a 65 62 88 cd |......\"|!q..eb..|
|00003ba0| ce 0e 0f 21 c4 c5 23 ad | 89 09 20 88 0e 06 ae 82 |...!..#.|.. .....|
|00003bb0| d0 20 2a 29 87 22 20 5b | 23 5b 6e 69 6c 20 22 c0 |. *)." [|#[nil ".|
|00003bc0| 89 89 19 1a 1b c4 94 12 | c4 95 11 c5 c6 21 ab 84 |........|.....!..|
|00003bd0| c6 5c 6e 21 88 c7 c0 78 | 88 c8 c0 78 88 68 c9 0e |.\n!...x|...x.h..|
|00003be0| 5c 6e 21 55 ab 83 60 53 | 12 cb 0e 0c 60 0e 0d 5a |\n!U..`S|....`..Z|
|00003bf0| ce 23 ad 96 0e 0f ab 89 | 65 c4 94 53 5d 09 7c aa |.#......|e..S].|.|
|00003c00| 89 5c 6e 09 7c 88 c4 94 | c4 95 7c 2b 87 22 20 5b |.\n.|...|..|+." [|
|00003c10| 6e 69 6c 20 65 6e 64 20 | 73 74 61 72 74 20 62 75 |nil end |start bu|
|00003c20| 66 66 65 72 2d 72 65 61 | 64 2d 6f 6e 6c 79 20 30 |ffer-rea|d-only 0|
|00003c30| 20 66 62 6f 75 6e 64 70 | 20 68 70 72 6f 70 65 72 | fboundp| hproper|
|00003c40| 74 79 3a 62 75 74 2d 64 | 65 6c 65 74 65 20 22 20 |ty:but-d|elete " |
|00003c50| 09 5c 6e 22 20 22 30 2d | 39 22 20 73 74 72 69 6e |.\n" "0-|9" strin|
|00003c60| 67 2d 74 6f 2d 63 68 61 | 72 20 65 62 75 74 3a 69 |g-to-cha|r ebut:i|
|00003c70| 6e 73 74 61 6e 63 65 2d | 73 65 70 20 73 65 61 72 |nstance-|sep sear|
|00003c80| 63 68 2d 62 61 63 6b 77 | 61 72 64 20 65 62 75 74 |ch-backw|ard ebut|
|00003c90| 3a 73 74 61 72 74 20 65 | 62 75 74 3a 6d 61 78 2d |:start e|but:max-|
|00003ca0| 6c 65 6e 20 74 20 63 75 | 72 72 65 6e 74 2d 70 72 |len t cu|rrent-pr|
|00003cb0| 65 66 69 78 2d 61 72 67 | 5d 20 34 5d 20 66 6f 72 |efix-arg|] 4] for|
|00003cc0| 6d 20 73 65 61 72 63 68 | 2d 66 6f 72 77 61 72 64 |m search|-forward|
|00003cd0| 20 65 62 75 74 3a 65 6e | 64 20 6e 69 6c 20 74 20 | ebut:en|d nil t |
|00003ce0| 63 75 72 2d 70 20 6b 65 | 79 2d 73 72 63 20 62 75 |cur-p ke|y-src bu|
|00003cf0| 66 66 65 72 2d 66 69 6c | 65 2d 6e 61 6d 65 20 64 |ffer-fil|e-name d|
|00003d00| 69 72 65 63 74 6f 72 79 | 20 64 65 66 61 75 6c 74 |irectory| default|
|00003d10| 2d 64 69 72 65 63 74 6f | 72 79 20 66 69 6e 64 2d |-directo|ry find-|
|00003d20| 66 69 6c 65 2d 6e 6f 73 | 65 6c 65 63 74 20 65 78 |file-nos|elect ex|
|00003d30| 70 61 6e 64 2d 66 69 6c | 65 2d 6e 61 6d 65 20 72 |pand-fil|e-name r|
|00003d40| 65 2d 73 65 61 72 63 68 | 2d 66 6f 72 77 61 72 64 |e-search|-forward|
|00003d50| 20 65 62 75 74 3a 6c 61 | 62 65 6c 2d 72 65 67 65 | ebut:la|bel-rege|
|00003d60| 78 70 20 62 75 74 2d 6b | 65 79 20 73 61 76 65 2d |xp but-k|ey save-|
|00003d70| 62 75 66 66 65 72 5d 20 | 34 20 22 5c 0a 52 65 6d |buffer] |4 "\.Rem|
|00003d80| 6f 76 65 20 64 65 6c 69 | 6d 69 74 65 72 73 20 66 |ove deli|miters f|
|00003d90| 72 6f 6d 20 62 75 74 74 | 6f 6e 20 67 69 76 65 6e |rom butt|on given|
|00003da0| 20 62 79 20 42 55 54 2d | 4b 45 59 20 69 6e 20 4b | by BUT-|KEY in K|
|00003db0| 45 59 2d 53 52 43 20 6f | 66 20 44 49 52 45 43 54 |EY-SRC o|f DIRECT|
|00003dc0| 4f 52 59 2e 0a 41 6c 6c | 20 61 72 67 73 20 61 72 |ORY..All| args ar|
|00003dd0| 65 20 6f 70 74 69 6f 6e | 61 6c 2c 20 74 68 65 20 |e option|al, the |
|00003de0| 63 75 72 72 65 6e 74 20 | 62 75 74 74 6f 6e 20 61 |current |button a|
|00003df0| 6e 64 20 62 75 66 66 65 | 72 20 66 69 6c 65 20 61 |nd buffe|r file a|
|00003e00| 72 65 20 74 68 65 20 64 | 65 66 61 75 6c 74 73 2e |re the d|efaults.|
|00003e10| 22 20 6e 69 6c 5d 29 0a | 28 66 73 65 74 20 27 68 |" nil]).|(fset 'h|
|00003e20| 75 69 3a 66 69 6c 65 2d | 66 69 6e 64 20 23 5b 28 |ui:file-|find #[(|
|00003e30| 66 69 6c 65 2d 6e 61 6d | 65 29 20 22 08 3b ab 89 |file-nam|e) ".;..|
|00003e40| c1 08 21 ab 84 c2 08 21 | 87 c3 c4 08 5c 22 87 22 |..!....!|....\"."|
|00003e50| 20 5b 66 69 6c 65 2d 6e | 61 6d 65 20 66 69 6c 65 | [file-n|ame file|
|00003e60| 2d 72 65 61 64 61 62 6c | 65 2d 70 20 66 69 6e 64 |-readabl|e-p find|
|00003e70| 2d 66 69 6c 65 20 68 79 | 70 62 3a 65 72 72 6f 72 |-file hy|pb:error|
|00003e80| 20 22 28 66 69 6c 65 2d | 66 69 6e 64 29 3a 20 5c | "(file-|find): \|
|00003e90| 22 25 73 5c 22 20 64 6f | 65 73 20 6e 6f 74 20 65 |"%s\" do|es not e|
|00003ea0| 78 69 73 74 20 6f 72 20 | 69 73 20 6e 6f 74 20 72 |xist or |is not r|
|00003eb0| 65 61 64 61 62 6c 65 2e | 22 5d 20 33 20 22 5c 0a |eadable.|"] 3 "\.|
|00003ec0| 49 66 20 46 49 4c 45 2d | 4e 41 4d 45 20 69 73 20 |If FILE-|NAME is |
|00003ed0| 72 65 61 64 61 62 6c 65 | 2c 20 66 69 6e 64 73 20 |readable|, finds |
|00003ee0| 69 74 2c 20 65 6c 73 65 | 20 73 69 67 6e 61 6c 73 |it, else| signals|
|00003ef0| 20 61 6e 20 65 72 72 6f | 72 2e 22 5d 29 0a 28 66 | an erro|r."]).(f|
|00003f00| 73 65 74 20 27 68 75 69 | 3a 68 62 75 74 2d 74 65 |set 'hui|:hbut-te|
|00003f10| 72 6d 2d 68 69 67 68 6c | 69 67 68 74 20 23 5b 28 |rm-highl|ight #[(|
|00003f20| 73 74 61 72 74 20 65 6e | 64 29 20 22 8c 8a 08 62 |start en|d) "...b|
|00003f30| 88 65 08 7d 88 c1 c2 21 | 88 c3 14 65 62 88 7e 88 |.e.}...!|...eb.~.|
|00003f40| 60 0d 7d 88 c1 c2 21 88 | c6 89 14 2a 87 22 20 5b |`.}...!.|...*." [|
|00003f50| 73 74 61 72 74 20 73 69 | 74 2d 66 6f 72 20 30 20 |start si|t-for 0 |
|00003f60| 74 20 69 6e 76 65 72 73 | 65 2d 76 69 64 65 6f 20 |t invers|e-video |
|00003f70| 65 6e 64 20 6e 69 6c 5d | 20 32 20 22 5c 0a 46 6f |end nil]| 2 "\.Fo|
|00003f80| 72 20 74 65 72 6d 69 6e | 61 6c 73 20 6f 6e 6c 79 |r termin|als only|
|00003f90| 3a 20 45 6d 70 68 61 73 | 69 7a 65 20 61 20 62 75 |: Emphas|ize a bu|
|00003fa0| 74 74 6f 6e 20 73 70 61 | 6e 6e 69 6e 67 20 66 72 |tton spa|nning fr|
|00003fb0| 6f 6d 20 53 54 41 52 54 | 20 74 6f 20 45 4e 44 2e |om START| to END.|
|00003fc0| 22 5d 29 0a 28 66 73 65 | 74 20 27 68 75 69 3a 68 |"]).(fse|t 'hui:h|
|00003fd0| 62 75 74 2d 74 65 72 6d | 2d 75 6e 68 69 67 68 6c |but-term|-unhighl|
|00003fe0| 69 67 68 74 20 23 5b 28 | 73 74 61 72 74 20 65 6e |ight #[(|start en|
|00003ff0| 64 29 20 22 8c 8a 08 62 | 88 65 08 7d 88 c1 c2 21 |d) "...b|.e.}...!|
|00004000| 88 c3 89 14 2a 87 22 20 | 5b 73 74 61 72 74 20 73 |....*." |[start s|
|00004010| 69 74 2d 66 6f 72 20 30 | 20 6e 69 6c 20 69 6e 76 |it-for 0| nil inv|
|00004020| 65 72 73 65 2d 76 69 64 | 65 6f 5d 20 32 20 22 5c |erse-vid|eo] 2 "\|
|00004030| 0a 46 6f 72 20 74 65 72 | 6d 69 6e 61 6c 73 20 6f |.For ter|minals o|
|00004040| 6e 6c 79 3a 20 52 65 6d | 6f 76 65 20 61 6e 79 20 |nly: Rem|ove any |
|00004050| 65 6d 70 68 61 73 69 73 | 20 66 72 6f 6d 20 68 79 |emphasis| from hy|
|00004060| 70 65 72 2d 62 75 74 74 | 6f 6e 20 61 74 20 53 54 |per-butt|on at ST|
|00004070| 41 52 54 20 74 6f 20 45 | 4e 44 2e 22 5d 29 0a 28 |ART to E|ND."]).(|
|00004080| 66 73 65 74 20 27 68 75 | 69 3a 68 65 6c 70 2d 65 |fset 'hu|i:help-e|
|00004090| 62 75 74 2d 68 69 67 68 | 6c 69 67 68 74 20 23 5b |but-high|light #[|
|000040a0| 6e 69 6c 20 22 c0 c1 21 | ad 8a 8a c2 c3 20 21 71 |nil "..!|..... !q|
|000040b0| 88 c1 20 29 87 22 20 5b | 66 62 6f 75 6e 64 70 20 |.. )." [|fboundp |
|000040c0| 68 70 72 6f 70 65 72 74 | 79 3a 62 75 74 2d 63 72 |hpropert|y:but-cr|
|000040d0| 65 61 74 65 20 67 65 74 | 2d 62 75 66 66 65 72 20 |eate get|-buffer |
|000040e0| 68 79 70 62 3a 68 65 6c | 70 2d 62 75 66 2d 6e 61 |hypb:hel|p-buf-na|
|000040f0| 6d 65 5d 20 32 20 22 5c | 0a 48 69 67 68 6c 69 67 |me] 2 "\|.Highlig|
|00004100| 68 74 20 61 6e 79 20 65 | 78 70 6c 69 63 69 74 20 |ht any e|xplicit |
|00004110| 62 75 74 74 6f 6e 73 20 | 69 6e 20 68 65 6c 70 20 |buttons |in help |
|00004120| 62 75 66 66 65 72 20 61 | 73 73 6f 63 69 61 74 65 |buffer a|ssociate|
|00004130| 64 20 77 69 74 68 20 63 | 75 72 72 65 6e 74 20 62 |d with c|urrent b|
|00004140| 75 66 66 65 72 2e 22 5d | 29 0a 28 66 73 65 74 20 |uffer."]|).(fset |
|00004150| 27 68 75 69 3a 68 74 79 | 70 65 2d 64 65 6c 65 74 |'hui:hty|pe-delet|
|00004160| 65 20 23 5b 28 68 74 79 | 70 65 2d 73 79 6d 29 20 |e #[(hty|pe-sym) |
|00004170| 22 08 ad a1 08 39 ad 9d | c1 c2 c3 c4 08 21 c5 51 |"....9..|.....!.Q|
|00004180| c6 c7 c8 08 21 5c 22 c9 | ca c9 08 26 06 21 1e 0b |....!\".|...&.!..|
|00004190| cc 0e 0b 08 5c 22 29 87 | 22 20 5b 68 74 79 70 65 |....\").|" [htype|
|000041a0| 2d 73 79 6d 20 69 6e 74 | 65 72 6e 20 68 61 72 67 |-sym int|ern harg|
|000041b0| 73 3a 72 65 61 64 2d 6d | 61 74 63 68 20 22 44 65 |s:read-m|atch "De|
|000041c0| 6c 65 74 65 20 66 72 6f | 6d 20 22 20 73 79 6d 62 |lete fro|m " symb|
|000041d0| 6f 6c 2d 6e 61 6d 65 20 | 22 3a 20 22 20 6d 61 70 |ol-name |": " map|
|000041e0| 63 61 72 20 6c 69 73 74 | 20 68 74 79 70 65 3a 6e |car list| htype:n|
|000041f0| 61 6d 65 73 20 6e 69 6c | 20 74 20 74 79 70 65 20 |ames nil| t type |
|00004200| 68 74 79 70 65 3a 64 65 | 6c 65 74 65 5d 20 38 20 |htype:de|lete] 8 |
|00004210| 22 5c 0a 44 65 6c 65 74 | 65 73 20 48 54 59 50 45 |"\.Delet|es HTYPE|
|00004220| 2d 53 59 4d 20 66 72 6f | 6d 20 75 73 65 20 69 6e |-SYM fro|m use in|
|00004230| 20 63 75 72 72 65 6e 74 | 20 48 79 70 65 72 62 6f | current| Hyperbo|
|00004240| 6c 65 20 73 65 73 73 69 | 6f 6e 2e 0a 48 54 59 50 |le sessi|on..HTYP|
|00004250| 45 2d 53 59 4d 20 6d 75 | 73 74 20 62 65 20 72 65 |E-SYM mu|st be re|
|00004260| 64 65 66 69 6e 65 64 20 | 66 6f 72 20 75 73 65 20 |defined |for use |
|00004270| 61 67 61 69 6e 2e 22 5d | 29 0a 28 66 73 65 74 20 |again."]|).(fset |
|00004280| 27 68 75 69 3a 68 74 79 | 70 65 2d 68 65 6c 70 20 |'hui:hty|pe-help |
|00004290| 23 5b 28 68 74 79 70 65 | 2d 73 79 6d 20 26 6f 70 |#[(htype|-sym &op|
|000042a0| 74 69 6f 6e 61 6c 20 6e | 6f 2d 73 6f 72 74 29 20 |tional n|o-sort) |
|000042b0| 22 08 ad f3 08 39 ad ef | c1 08 21 89 1a c3 50 1c |"....9..|..!...P.|
|000042c0| c5 c6 5c 6e 21 21 1e 07 | c8 1e 09 c8 1e 5c 6e cb |..\n!!..|.....\n.|
|000042d0| 08 21 1e 0c cd c6 5c 6e | 21 ce 50 cf d0 d1 0e 0c |.!....\n|!.P.....|
|000042e0| 42 5c 22 d2 d3 d2 08 26 | 06 1e 14 d2 1e 15 d2 1e |B\"....&|........|
|000042f0| 16 0e 14 d1 98 ab 97 cf | d7 0e 0c 5c 22 1e 18 0e |........|...\"...|
|00004300| 19 ab 84 0e 18 aa 85 da | 0e 18 db 5c 22 29 aa 86 |........|...\")..|
|00004310| 0c 0e 14 50 d2 42 16 15 | dc d2 cf dd 0e 15 5c 22 |...P.B..|......\"|
|00004320| 5c 22 16 16 0e 07 90 cf | de 0e 16 5c 22 91 2e 09 |\"......|...\"...|
|00004330| 87 22 20 5b 68 74 79 70 | 65 2d 73 79 6d 20 73 79 |." [htyp|e-sym sy|
|00004340| 6d 62 6f 6c 2d 6e 61 6d | 65 20 74 73 74 72 20 22 |mbol-nam|e tstr "|
|00004350| 3a 3a 22 20 74 70 72 65 | 66 69 78 20 68 79 70 62 |::" tpre|fix hypb|
|00004360| 3a 68 65 6c 70 2d 62 75 | 66 2d 6e 61 6d 65 20 63 |:help-bu|f-name c|
|00004370| 61 70 69 74 61 6c 69 7a | 65 20 62 75 66 2d 6e 61 |apitaliz|e buf-na|
|00004380| 6d 65 20 23 5b 28 62 75 | 66 29 20 22 08 71 88 65 |me #[(bu|f) ".q.e|
|00004390| 62 88 c1 c2 c3 5c 22 88 | 65 62 88 c4 c3 0d 50 c6 |b....\".|eb....P.|
|000043a0| 5c 22 88 65 62 88 c7 c8 | 21 88 c9 08 c8 5c 22 87 |\".eb...|!....\".|
|000043b0| 22 20 5b 62 75 66 20 72 | 65 70 6c 61 63 65 2d 72 |" [buf r|eplace-r|
|000043c0| 65 67 65 78 70 20 22 5e | 22 20 22 20 20 22 20 72 |egexp "^|" " " r|
|000043d0| 65 70 6c 61 63 65 2d 73 | 74 72 69 6e 67 20 74 70 |eplace-s|tring tp|
|000043e0| 72 65 66 69 78 20 22 22 | 20 73 65 74 2d 62 75 66 |refix ""| set-buf|
|000043f0| 66 65 72 2d 6d 6f 64 69 | 66 69 65 64 2d 70 20 6e |fer-modi|fied-p n|
|00004400| 69 6c 20 64 69 73 70 6c | 61 79 2d 62 75 66 66 65 |il displ|ay-buffe|
|00004410| 72 5d 20 33 5d 20 74 65 | 6d 70 2d 62 75 66 66 65 |r] 3] te|mp-buffe|
|00004420| 72 2d 73 68 6f 77 2d 68 | 6f 6f 6b 20 74 65 6d 70 |r-show-h|ook temp|
|00004430| 2d 62 75 66 66 65 72 2d | 73 68 6f 77 2d 66 75 6e |-buffer-|show-fun|
|00004440| 63 74 69 6f 6e 20 68 74 | 79 70 65 3a 6e 61 6d 65 |ction ht|ype:name|
|00004450| 73 20 6e 61 6d 65 73 20 | 68 61 72 67 73 3a 72 65 |s names |hargs:re|
|00004460| 61 64 2d 6d 61 74 63 68 | 20 22 20 74 6f 20 64 65 |ad-match| " to de|
|00004470| 73 63 72 69 62 65 20 28 | 52 54 4e 20 66 6f 72 20 |scribe (|RTN for |
|00004480| 61 6c 6c 29 3a 20 22 20 | 6d 61 70 63 61 72 20 6c |all): " |mapcar l|
|00004490| 69 73 74 20 22 22 20 6e | 69 6c 20 74 20 74 65 72 |ist "" n|il t ter|
|000044a0| 6d 20 6e 6d 2d 6c 69 73 | 74 20 64 6f 63 2d 6c 69 |m nm-lis|t doc-li|
|000044b0| 73 74 20 23 5b 28 6e 6d | 29 20 22 08 09 50 87 22 |st #[(nm|) "..P."|
|000044c0| 20 5b 74 70 72 65 66 69 | 78 20 6e 6d 5d 20 32 5d | [tprefi|x nm] 2]|
|000044d0| 20 74 79 70 65 2d 6e 61 | 6d 65 73 20 6e 6f 2d 73 | type-na|mes no-s|
|000044e0| 6f 72 74 20 73 6f 72 74 | 20 73 74 72 69 6e 67 3c |ort sort| string<|
|000044f0| 20 64 65 6c 71 20 23 5b | 28 6e 61 6d 65 29 20 22 | delq #[|(name) "|
|00004500| c0 c1 5c 6e 21 21 89 1b | ad 83 5c 6e 0b 42 29 87 |..\n!!..|..\n.B).|
|00004510| 22 20 5b 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |" [docum|entation|
|00004520| 20 69 6e 74 65 72 6e 2d | 73 6f 66 74 20 6e 61 6d | intern-|soft nam|
|00004530| 65 20 64 6f 63 5d 20 34 | 5d 20 23 5b 28 6e 6d 2d |e doc] 4|] #[(nm-|
|00004540| 64 6f 63 2d 63 6f 6e 73 | 29 20 22 c0 09 40 21 88 |doc-cons|) "..@!.|
|00004550| c2 20 88 c0 09 41 21 88 | c2 20 87 22 20 5b 70 72 |. ...A!.|. ." [pr|
|00004560| 69 6e 63 20 6e 6d 2d 64 | 6f 63 2d 63 6f 6e 73 20 |inc nm-d|oc-cons |
|00004570| 74 65 72 70 72 69 5d 20 | 32 5d 5d 20 38 20 22 5c |terpri] |2]] 8 "\|
|00004580| 0a 44 69 73 70 6c 61 79 | 73 20 64 6f 63 75 6d 65 |.Display|s docume|
|00004590| 6e 74 61 74 69 6f 6e 20 | 66 6f 72 20 74 79 70 65 |ntation |for type|
|000045a0| 73 20 66 72 6f 6d 20 48 | 54 59 50 45 2d 53 59 4d |s from H|TYPE-SYM|
|000045b0| 20 77 68 69 63 68 20 6d | 61 74 63 68 20 74 6f 20 | which m|atch to |
|000045c0| 61 20 72 65 67 65 78 70 | 2e 0a 4f 70 74 69 6f 6e |a regexp|..Option|
|000045d0| 61 6c 20 4e 4f 2d 53 4f | 52 54 20 6d 65 61 6e 73 |al NO-SO|RT means|
|000045e0| 20 64 69 73 70 6c 61 79 | 20 69 6e 20 64 65 63 72 | display| in decr|
|000045f0| 65 61 73 69 6e 67 20 70 | 72 69 6f 72 69 74 79 20 |easing p|riority |
|00004600| 6f 72 64 65 72 20 28 6e | 61 74 75 72 61 6c 20 6f |order (n|atural o|
|00004610| 72 64 65 72 29 2e 22 5d | 29 0a 28 66 73 65 74 20 |rder)."]|).(fset |
|00004620| 27 68 75 69 3a 6b 65 79 | 2d 64 69 72 20 23 5b 28 |'hui:key|-dir #[(|
|00004630| 62 75 74 2d 62 75 66 29 | 20 22 c0 09 21 ab 96 c2 |but-buf)| "..!...|
|00004640| 09 21 89 1b ab 87 c4 c5 | 0b 21 21 aa 86 c6 c7 09 |.!......|.!!.....|
|00004650| 21 9e 41 29 87 c8 c9 21 | 87 22 20 5b 62 75 66 66 |!.A)...!|." [buff|
|00004660| 65 72 70 20 62 75 74 2d | 62 75 66 20 62 75 66 66 |erp but-|buf buff|
|00004670| 65 72 2d 66 69 6c 65 2d | 6e 61 6d 65 20 66 69 6c |er-file-|name fil|
|00004680| 65 20 66 69 6c 65 2d 6e | 61 6d 65 2d 64 69 72 65 |e file-n|ame-dire|
|00004690| 63 74 6f 72 79 20 68 70 | 61 74 68 3a 73 79 6d 6c |ctory hp|ath:syml|
|000046a0| 69 6e 6b 2d 72 65 66 65 | 72 65 6e 74 20 64 65 66 |ink-refe|rent def|
|000046b0| 61 75 6c 74 2d 64 69 72 | 65 63 74 6f 72 79 20 62 |ault-dir|ectory b|
|000046c0| 75 66 66 65 72 2d 6c 6f | 63 61 6c 2d 76 61 72 69 |uffer-lo|cal-vari|
|000046d0| 61 62 6c 65 73 20 68 79 | 70 62 3a 65 72 72 6f 72 |ables hy|pb:error|
|000046e0| 20 22 28 68 75 69 3a 6b | 65 79 2d 64 69 72 29 3a | "(hui:k|ey-dir):|
|000046f0| 20 27 25 73 27 20 69 73 | 20 6e 6f 74 20 61 20 76 | '%s' is| not a v|
|00004700| 61 6c 69 64 20 62 75 66 | 66 65 72 2e 22 5d 20 34 |alid buf|fer."] 4|
|00004710| 20 22 5c 0a 52 65 74 75 | 72 6e 73 20 62 75 74 74 | "\.Retu|rns butt|
|00004720| 6f 6e 20 6b 65 79 20 73 | 72 63 20 64 69 72 65 63 |on key s|rc direc|
|00004730| 74 6f 72 79 20 62 61 73 | 65 64 20 6f 6e 20 42 55 |tory bas|ed on BU|
|00004740| 54 2d 42 55 46 2c 20 61 | 20 62 75 66 66 65 72 2e |T-BUF, a| buffer.|
|00004750| 22 5d 29 0a 28 66 73 65 | 74 20 27 68 75 69 3a 6b |"]).(fse|t 'hui:k|
|00004760| 65 79 2d 73 72 63 20 23 | 5b 28 62 75 74 2d 62 75 |ey-src #|[(but-bu|
|00004770| 66 29 20 22 8a 08 71 88 | c1 20 ab 83 08 aa 88 c2 |f) "..q.|. ......|
|00004780| c3 08 21 21 ae 81 08 29 | 87 22 20 5b 62 75 74 2d |..!!...)|." [but-|
|00004790| 62 75 66 20 68 6d 61 69 | 6c 3a 6d 6f 64 65 2d 69 |buf hmai|l:mode-i|
|000047a0| 73 2d 70 20 68 70 61 74 | 68 3a 73 79 6d 6c 69 6e |s-p hpat|h:symlin|
|000047b0| 6b 2d 72 65 66 65 72 65 | 6e 74 20 62 75 66 66 65 |k-refere|nt buffe|
|000047c0| 72 2d 66 69 6c 65 2d 6e | 61 6d 65 5d 20 33 20 22 |r-file-n|ame] 3 "|
|000047d0| 5c 0a 52 65 74 75 72 6e | 73 20 62 75 74 74 6f 6e |\.Return|s button|
|000047e0| 20 6b 65 79 20 73 72 63 | 20 6c 6f 63 61 74 69 6f | key src| locatio|
|000047f0| 6e 20 62 61 73 65 64 20 | 6f 6e 20 42 55 54 2d 42 |n based |on BUT-B|
|00004800| 55 46 2c 20 61 20 62 75 | 66 66 65 72 2e 0a 54 68 |UF, a bu|ffer..Th|
|00004810| 69 73 20 69 73 20 42 55 | 54 2d 42 55 46 20 77 68 |is is BU|T-BUF wh|
|00004820| 65 6e 20 62 75 74 74 6f | 6e 20 64 61 74 61 20 69 |en butto|n data i|
|00004830| 73 20 73 74 6f 72 65 64 | 20 69 6e 20 74 68 65 20 |s stored| in the |
|00004840| 62 75 66 66 65 72 20 61 | 6e 64 20 74 68 65 0a 62 |buffer a|nd the.b|
|00004850| 75 74 74 6f 6e 27 73 20 | 73 6f 75 72 63 65 20 66 |utton's |source f|
|00004860| 69 6c 65 20 6e 61 6d 65 | 20 77 68 65 6e 20 74 68 |ile name| when th|
|00004870| 65 20 62 75 74 74 6f 6e | 20 64 61 74 61 20 69 73 |e button| data is|
|00004880| 20 73 74 6f 72 65 64 20 | 65 78 74 65 72 6e 61 6c | stored |external|
|00004890| 6c 79 2e 22 5d 29 0a 28 | 66 73 65 74 20 27 68 75 |ly."]).(|fset 'hu|
|000048a0| 69 3a 6c 69 6e 6b 2d 63 | 72 65 61 74 65 20 23 5b |i:link-c|reate #[|
|000048b0| 28 6d 6f 64 69 66 79 20 | 62 75 74 2d 77 69 6e 64 |(modify |but-wind|
|000048c0| 6f 77 20 6c 62 6c 2d 6b | 65 79 20 62 75 74 2d 6c |ow lbl-k|ey but-l|
|000048d0| 6f 63 20 62 75 74 2d 64 | 69 72 20 74 79 70 65 2d |oc but-d|ir type-|
|000048e0| 61 6e 64 2d 61 72 67 73 | 29 20 22 c0 c1 c2 0b 23 |and-args|) "....#|
|000048f0| 88 c0 c1 c4 0d 23 88 c0 | c1 c6 c7 c8 c9 0e 5c 6e |.....#..|......\n|
|00004900| 40 21 50 21 23 88 c0 c1 | cb 0e 5c 6e 41 23 88 cc |@!P!#...|..\nA#..|
|00004910| 0e 0d 21 88 ce 0e 0f 21 | 1e 10 d1 0e 10 0e 12 ad |..!....!|........|
|00004920| 82 0e 10 5c 22 29 87 22 | 20 5b 68 61 74 74 72 3a |...\")."| [hattr:|
|00004930| 73 65 74 20 68 62 75 74 | 3a 63 75 72 72 65 6e 74 |set hbut|:current|
|00004940| 20 6c 6f 63 20 62 75 74 | 2d 6c 6f 63 20 64 69 72 | loc but|-loc dir|
|00004950| 20 62 75 74 2d 64 69 72 | 20 61 63 74 79 70 65 20 | but-dir| actype |
|00004960| 69 6e 74 65 72 6e 2d 73 | 6f 66 74 20 22 61 63 74 |intern-s|oft "act|
|00004970| 79 70 65 73 3a 3a 22 20 | 73 79 6d 62 6f 6c 2d 6e |ypes::" |symbol-n|
|00004980| 61 6d 65 20 74 79 70 65 | 2d 61 6e 64 2d 61 72 67 |ame type|-and-arg|
|00004990| 73 20 61 72 67 73 20 73 | 65 6c 65 63 74 2d 77 69 |s args s|elect-wi|
|000049a0| 6e 64 6f 77 20 62 75 74 | 2d 77 69 6e 64 6f 77 20 |ndow but|-window |
|000049b0| 65 62 75 74 3a 6b 65 79 | 2d 74 6f 2d 6c 61 62 65 |ebut:key|-to-labe|
|000049c0| 6c 20 6c 62 6c 2d 6b 65 | 79 20 6c 61 62 65 6c 20 |l lbl-ke|y label |
|000049d0| 65 62 75 74 3a 6f 70 65 | 72 61 74 65 20 6d 6f 64 |ebut:ope|rate mod|
|000049e0| 69 66 79 5d 20 37 20 22 | 5c 0a 43 72 65 61 74 65 |ify] 7 "|\.Create|
|000049f0| 73 20 6f 72 20 6d 6f 64 | 69 66 69 65 73 20 61 20 |s or mod|ifies a |
|00004a00| 6e 65 77 20 48 79 70 65 | 72 62 6f 6c 65 20 62 75 |new Hype|rbole bu|
|00004a10| 74 74 6f 6e 2e 0a 49 66 | 20 4d 4f 44 49 46 59 20 |tton..If| MODIFY |
|00004a20| 69 73 20 6e 6f 6e 2d 6e | 69 6c 2c 20 6d 6f 64 69 |is non-n|il, modi|
|00004a30| 66 69 65 73 20 62 75 74 | 74 6f 6e 20 61 74 20 70 |fies but|ton at p|
|00004a40| 6f 69 6e 74 20 69 6e 20 | 42 55 54 2d 57 49 4e 44 |oint in |BUT-WIND|
|00004a50| 4f 57 2c 0a 6f 74 68 65 | 72 77 69 73 65 2c 20 70 |OW,.othe|rwise, p|
|00004a60| 72 6f 6d 70 74 73 20 66 | 6f 72 20 62 75 74 74 6f |rompts f|or butto|
|00004a70| 6e 20 6c 61 62 65 6c 20 | 61 6e 64 20 63 72 65 61 |n label |and crea|
|00004a80| 74 65 73 20 61 20 62 75 | 74 74 6f 6e 2e 0a 4c 42 |tes a bu|tton..LB|
|00004a90| 4c 2d 4b 45 59 20 69 73 | 20 69 6e 74 65 72 6e 61 |L-KEY is| interna|
|00004aa0| 6c 20 66 6f 72 6d 20 6f | 66 20 62 75 74 74 6f 6e |l form o|f button|
|00004ab0| 20 6c 61 62 65 6c 2e 20 | 20 42 55 54 2d 4c 4f 43 | label. | BUT-LOC|
|00004ac0| 20 69 73 20 66 69 6c 65 | 20 6f 72 20 62 75 66 66 | is file| or buff|
|00004ad0| 65 72 0a 69 6e 20 77 68 | 69 63 68 20 74 6f 20 63 |er.in wh|ich to c|
|00004ae0| 72 65 61 74 65 20 62 75 | 74 74 6f 6e 2e 20 20 42 |reate bu|tton. B|
|00004af0| 55 54 2d 44 49 52 20 69 | 73 20 64 69 72 65 63 74 |UT-DIR i|s direct|
|00004b00| 6f 72 79 20 6f 66 20 42 | 55 54 2d 4c 4f 43 2e 0a |ory of B|UT-LOC..|
|00004b10| 54 59 50 45 2d 41 4e 44 | 2d 41 52 47 53 20 69 73 |TYPE-AND|-ARGS is|
|00004b20| 20 74 68 65 20 61 63 74 | 69 6f 6e 20 74 79 70 65 | the act|ion type|
|00004b30| 20 66 6f 72 20 74 68 65 | 20 62 75 74 74 6f 6e 20 | for the| button |
|00004b40| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 61 6e 79 20 |followed| by any |
|00004b50| 61 72 67 75 6d 65 6e 74 | 73 20 69 74 20 72 65 71 |argument|s it req|
|00004b60| 75 69 72 65 73 2e 22 5d | 29 0a 28 66 73 65 74 20 |uires."]|).(fset |
|00004b70| 27 68 75 69 3a 6c 69 6e | 6b 2d 70 6f 73 73 69 62 |'hui:lin|k-possib|
|00004b80| 6c 65 2d 74 79 70 65 73 | 20 23 5b 6e 69 6c 20 22 |le-types| #[nil "|
|00004b90| c0 19 c2 c0 c3 20 ad 85 | c4 0d c6 20 45 0e 07 c8 |..... ..|... E...|
|00004ba0| 3d ab 8a c9 1e 5c 6e cb | cc 20 29 44 aa 8a cd 20 |=....\n.|. )D... |
|00004bb0| ad 86 ce cf 20 0d 44 44 | d0 d1 21 ab c1 0e 11 3b |.... .DD|..!....;|
|00004bc0| ab bc 8a 60 d2 79 88 d3 | 0e 11 21 ab 84 d2 95 aa |...`.y..|..!.....|
|00004bd0| 81 d2 58 29 ab a8 8a c0 | 7f 88 60 d2 79 88 60 7b |..X)....|..`.y.`{|
|00004be0| d4 1e 15 1e 16 d7 0e 16 | c0 d8 23 ab 87 0e 15 54 |........|..#....T|
|00004bf0| 16 15 aa 71 d9 0e 16 0e | 15 0d 46 2b aa bb da 1e |...q....|..F+....|
|00004c00| 5c 6e cc d8 21 89 11 29 | ab 85 db 09 44 aa ab dc |\n..!..)|....D...|
|00004c10| 1e 5c 6e cc d8 21 89 11 | 29 ab 86 dd 09 60 45 aa |.\n..!..|)....`E.|
|00004c20| 9a 0e 07 de 3d ab 87 df | 0d e0 20 45 aa 8d 0d ab |....=...|.. E....|
|00004c30| 86 dd 0d 60 45 aa 84 e1 | e2 20 44 e3 e4 21 ad 99 |...`E...|. D..!..|
|00004c40| e4 20 ad 95 67 7a e5 55 | ac 86 68 7a e6 55 ad 89 |. ..gz.U|..hz.U..|
|00004c50| e7 20 89 11 ad 83 e8 09 | 44 46 5c 22 29 87 22 20 |. ......|DF\")." |
|00004c60| 5b 6e 69 6c 20 76 61 6c | 20 64 65 6c 71 20 65 62 |[nil val| delq eb|
|00004c70| 75 74 3a 61 74 2d 70 20 | 6c 69 6e 6b 2d 74 6f 2d |ut:at-p |link-to-|
|00004c80| 65 62 75 74 20 62 75 66 | 66 65 72 2d 66 69 6c 65 |ebut buf|fer-file|
|00004c90| 2d 6e 61 6d 65 20 65 62 | 75 74 3a 6c 61 62 65 6c |-name eb|ut:label|
|00004ca0| 2d 70 20 6d 61 6a 6f 72 | 2d 6d 6f 64 65 20 49 6e |-p major|-mode In|
|00004cb0| 66 6f 2d 6d 6f 64 65 20 | 49 6e 66 6f 2d 6e 6f 64 |fo-mode |Info-nod|
|00004cc0| 65 20 68 61 72 67 73 3a | 72 65 61 64 69 6e 67 2d |e hargs:|reading-|
|00004cd0| 70 20 6c 69 6e 6b 2d 74 | 6f 2d 49 6e 66 6f 2d 6e |p link-t|o-Info-n|
|00004ce0| 6f 64 65 20 68 61 72 67 | 73 3a 61 74 2d 70 20 68 |ode harg|s:at-p h|
|00004cf0| 6d 61 69 6c 3a 72 65 61 | 64 65 72 2d 70 20 6c 69 |mail:rea|der-p li|
|00004d00| 6e 6b 2d 74 6f 2d 6d 61 | 69 6c 20 72 6d 61 69 6c |nk-to-ma|il rmail|
|00004d10| 3a 6d 73 67 2d 69 64 2d | 67 65 74 20 62 6f 75 6e |:msg-id-|get boun|
|00004d20| 64 70 20 6f 75 74 6c 69 | 6e 65 2d 72 65 67 65 78 |dp outli|ne-regex|
|00004d30| 70 20 30 20 6c 6f 6f 6b | 69 6e 67 2d 61 74 20 31 |p 0 look|ing-at 1|
|00004d40| 20 6f 63 63 75 72 20 68 | 65 61 64 69 6e 67 20 73 | occur h|eading s|
|00004d50| 65 61 72 63 68 2d 62 61 | 63 6b 77 61 72 64 20 74 |earch-ba|ckward t|
|00004d60| 20 6c 69 6e 6b 2d 74 6f | 2d 73 74 72 69 6e 67 2d | link-to|-string-|
|00004d70| 6d 61 74 63 68 20 64 69 | 72 65 63 74 6f 72 79 20 |match di|rectory |
|00004d80| 6c 69 6e 6b 2d 74 6f 2d | 64 69 72 65 63 74 6f 72 |link-to-|director|
|00004d90| 79 20 66 69 6c 65 20 6c | 69 6e 6b 2d 74 6f 2d 66 |y file l|ink-to-f|
|00004da0| 69 6c 65 20 6b 6f 74 6c | 2d 6d 6f 64 65 20 6c 69 |ile kotl|-mode li|
|00004db0| 6e 6b 2d 74 6f 2d 6b 63 | 65 6c 6c 20 6b 63 65 6c |nk-to-kc|ell kcel|
|00004dc0| 6c 2d 76 69 65 77 3a 69 | 64 73 74 61 6d 70 20 6c |l-view:i|dstamp l|
|00004dd0| 69 6e 6b 2d 74 6f 2d 62 | 75 66 66 65 72 2d 74 6d |ink-to-b|uffer-tm|
|00004de0| 70 20 62 75 66 66 65 72 | 2d 6e 61 6d 65 20 66 62 |p buffer|-name fb|
|00004df0| 6f 75 6e 64 70 20 73 6d | 61 72 74 2d 65 6d 61 63 |oundp sm|art-emac|
|00004e00| 73 2d 6c 69 73 70 2d 6d | 6f 64 65 2d 70 20 34 30 |s-lisp-m|ode-p 40|
|00004e10| 20 34 31 20 68 61 72 67 | 73 3a 73 65 78 70 72 65 | 41 harg|s:sexpre|
|00004e20| 73 73 69 6f 6e 2d 70 20 | 65 76 61 6c 2d 65 6c 69 |ssion-p |eval-eli|
|00004e30| 73 70 5d 20 38 20 22 5c | 0a 52 65 74 75 72 6e 73 |sp] 8 "\|.Returns|
|00004e40| 20 6c 69 73 74 20 6f 66 | 20 70 6f 73 73 69 62 6c | list of| possibl|
|00004e50| 65 20 6c 69 6e 6b 20 74 | 79 70 65 73 20 66 6f 72 |e link t|ypes for|
|00004e60| 20 61 20 48 79 70 65 72 | 62 6f 6c 65 20 62 75 74 | a Hyper|bole but|
|00004e70| 74 6f 6e 20 6c 69 6e 6b | 20 74 6f 20 70 6f 69 6e |ton link| to poin|
|00004e80| 74 2e 0a 45 61 63 68 20 | 6c 69 73 74 20 65 6c 65 |t..Each |list ele|
|00004e90| 6d 65 6e 74 20 69 73 20 | 61 20 6c 69 73 74 20 6f |ment is |a list o|
|00004ea0| 66 20 74 68 65 20 6c 69 | 6e 6b 20 74 79 70 65 20 |f the li|nk type |
|00004eb0| 61 6e 64 20 61 6e 79 20 | 61 72 67 75 6d 65 6e 74 |and any |argument|
|00004ec0| 73 20 69 74 20 72 65 71 | 75 69 72 65 73 2e 0a 0a |s it req|uires...|
|00004ed0| 54 68 65 20 6c 69 6e 6b | 20 74 79 70 65 73 20 63 |The link| types c|
|00004ee0| 6f 6e 73 69 64 65 72 65 | 64 20 61 72 65 20 66 69 |onsidere|d are fi|
|00004ef0| 78 65 64 2e 20 20 44 65 | 66 69 6e 69 6e 67 20 6e |xed. De|fining n|
|00004f00| 65 77 20 6c 69 6e 6b 20 | 74 79 70 65 73 20 77 69 |ew link |types wi|
|00004f10| 6c 6c 20 6e 6f 74 20 61 | 6c 74 65 72 0a 74 68 65 |ll not a|lter.the|
|00004f20| 20 70 6f 73 73 69 62 6c | 65 20 74 79 70 65 73 2e | possibl|e types.|
|00004f30| 20 20 54 68 65 20 63 6f | 64 65 20 6d 75 73 74 20 | The co|de must |
|00004f40| 62 65 20 63 68 61 6e 67 | 65 64 20 74 6f 20 64 6f |be chang|ed to do|
|00004f50| 20 74 68 61 74 2e 0a 0a | 52 65 66 65 72 65 6e 74 | that...|Referent|
|00004f60| 20 43 6f 6e 74 65 78 74 | 20 20 20 20 20 20 20 20 | Context| |
|00004f70| 20 50 6f 73 73 69 62 6c | 65 20 4c 69 6e 6b 20 54 | Possibl|e Link T|
|00004f80| 79 70 65 20 52 65 74 75 | 72 6e 65 64 0a 2d 2d 2d |ype Retu|rned.---|
|00004f90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004fa0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004fb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004fc0| 2d 0a 45 78 70 6c 69 63 | 69 74 20 42 75 74 74 6f |-.Explic|it Butto|
|00004fd0| 6e 20 20 20 20 20 20 20 | 20 20 20 6c 69 6e 6b 2d |n | link-|
|00004fe0| 74 6f 2d 65 62 75 74 0a | 20 20 6f 72 0a 49 6e 66 |to-ebut.| or.Inf|
|00004ff0| 6f 20 4e 6f 64 65 20 20 | 20 20 20 20 20 20 20 20 |o Node | |
|00005000| 20 20 20 20 20 20 6c 69 | 6e 6b 2d 74 6f 2d 49 6e | li|nk-to-In|
|00005010| 66 6f 2d 6e 6f 64 65 0a | 20 20 6f 72 0a 4d 61 69 |fo-node.| or.Mai|
|00005020| 6c 20 52 65 61 64 65 72 | 20 4d 73 67 20 20 20 20 |l Reader| Msg |
|00005030| 20 20 20 20 20 20 6c 69 | 6e 6b 2d 74 6f 2d 6d 61 | li|nk-to-ma|
|00005040| 69 6c 0a 0a 4f 75 74 6c | 69 6e 65 20 52 65 67 65 |il..Outl|ine Rege|
|00005050| 78 70 20 50 72 65 66 69 | 78 20 20 20 20 6c 69 6e |xp Prefi|x lin|
|00005060| 6b 2d 74 6f 2d 73 74 72 | 69 6e 67 2d 6d 61 74 63 |k-to-str|ing-matc|
|00005070| 68 0a 20 20 6f 72 0a 44 | 69 72 65 63 74 6f 72 79 |h. or.D|irectory|
|00005080| 20 4e 61 6d 65 20 20 20 | 20 20 20 20 20 20 20 20 | Name | |
|00005090| 6c 69 6e 6b 2d 74 6f 2d | 64 69 72 65 63 74 6f 72 |link-to-|director|
|000050a0| 79 0a 20 20 6f 72 0a 46 | 69 6c 65 20 4e 61 6d 65 |y. or.F|ile Name|
|000050b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000050c0| 6c 69 6e 6b 2d 74 6f 2d | 66 69 6c 65 0a 20 20 6f |link-to-|file. o|
|000050d0| 72 0a 4b 6f 75 74 6c 69 | 6e 65 20 43 65 6c 6c 20 |r.Koutli|ne Cell |
|000050e0| 20 20 20 20 20 20 20 20 | 20 20 20 6c 69 6e 6b 2d | | link-|
|000050f0| 74 6f 2d 6b 63 65 6c 6c | 0a 20 20 6f 72 0a 42 75 |to-kcell|. or.Bu|
|00005100| 66 66 65 72 20 61 74 74 | 61 63 68 65 64 20 74 6f |ffer att|ached to|
|00005110| 20 46 69 6c 65 20 20 6c | 69 6e 6b 2d 74 6f 2d 66 | File l|ink-to-f|
|00005120| 69 6c 65 0a 20 20 6f 72 | 0a 42 75 66 66 65 72 20 |ile. or|.Buffer |
|00005130| 77 69 74 68 6f 75 74 20 | 46 69 6c 65 20 20 20 20 |without |File |
|00005140| 20 20 6c 69 6e 6b 2d 74 | 6f 2d 62 75 66 66 65 72 | link-t|o-buffer|
|00005150| 2d 74 6d 70 0a 0a 45 6c | 69 73 70 20 42 75 66 66 |-tmp..El|isp Buff|
|00005160| 65 72 20 61 74 20 53 74 | 61 72 74 0a 6f 72 20 45 |er at St|art.or E|
|00005170| 6e 64 20 6f 66 20 53 65 | 78 70 72 65 73 73 69 6f |nd of Se|xpressio|
|00005180| 6e 20 20 20 20 65 76 61 | 6c 2d 65 6c 69 73 70 0a |n eva|l-elisp.|
|00005190| 22 5d 29 0a 28 64 65 66 | 76 61 72 20 68 75 69 3a |"]).(def|var hui:|
|000051a0| 65 62 75 74 2d 6c 61 62 | 65 6c 2d 70 72 65 76 20 |ebut-lab|el-prev |
|000051b0| 6e 69 6c 20 22 5c 0a 53 | 74 72 69 6e 67 20 76 61 |nil "\.S|tring va|
|000051c0| 6c 75 65 20 6f 66 20 70 | 72 65 76 69 6f 75 73 20 |lue of p|revious |
|000051d0| 62 75 74 74 6f 6e 20 6e | 61 6d 65 20 64 75 72 69 |button n|ame duri|
|000051e0| 6e 67 20 61 6e 20 65 78 | 70 6c 69 63 69 74 20 62 |ng an ex|plicit b|
|000051f0| 75 74 74 6f 6e 20 72 65 | 6e 61 6d 65 2e 0a 41 74 |utton re|name..At|
|00005200| 20 6f 74 68 65 72 20 74 | 69 6d 65 73 2c 20 76 61 | other t|imes, va|
|00005210| 6c 75 65 73 20 6d 75 73 | 74 20 62 65 20 6e 69 6c |lues mus|t be nil|
|00005220| 2e 22 29 0a 28 70 72 6f | 76 69 64 65 20 27 68 75 |.").(pro|vide 'hu|
|00005230| 69 29 0a | |i). | |
+--------+-------------------------+-------------------------+--------+--------+